mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Follow database structure change
This commit is contained in:
@ -8,11 +8,11 @@ pub struct APIClient {
|
||||
pub domain: Option<String>,
|
||||
pub comment: Option<String>,
|
||||
pub default_expiration_time: u64,
|
||||
pub firebase_token: Option<String>,
|
||||
pub firebase_service_account_file: Option<String>,
|
||||
}
|
||||
|
||||
impl APIClient {
|
||||
pub fn is_firebase_available(&self) -> bool {
|
||||
self.firebase_token.is_some()
|
||||
self.firebase_service_account_file.is_some()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user