File size: 404 Bytes
bbb1195
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod account;
pub mod quota;
pub mod config;
pub mod logger;
pub mod oauth;

use crate::models;

// Re-export common functions to modules namespace
pub use account::*;
pub use quota::*;
pub use config::*;
pub use logger::*;

pub async fn fetch_quota(access_token: &str, email: &str) -> crate::error::AppResult<(models::QuotaData, Option<String>)> {
    quota::fetch_quota(access_token, email).await
}