1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-21 00:45:18 +00:00

Follow database structure change

This commit is contained in:
2021-04-15 15:38:03 +02:00
parent 720ea04268
commit 0f2f882265
2 changed files with 3 additions and 3 deletions

View File

@ -30,6 +30,6 @@ fn db_to_client(res: &database::RowResult) -> Res<APIClient> {
domain: res.get_optional_str("domain")?,
comment: res.get_optional_str("comment")?,
default_expiration_time: res.get_u64("default_expiration_time")?,
firebase_token: res.get_optional_str("firebase_token")?,
firebase_service_account_file: res.get_optional_str("firebase_service_account_file")?,
})
}