refactor: switch from fcm to fcm_v1 crate

This commit is contained in:
Paul Makles
2024-08-29 20:17:52 +01:00
parent ae2194cce8
commit 1fb4032d9e
4 changed files with 76 additions and 26 deletions

View File

@@ -74,7 +74,16 @@ pub struct ApiVapid {
#[derive(Deserialize, Debug, Clone)]
pub struct ApiFcm {
pub api_key: String,
pub key_type: String,
pub project_id: String,
pub private_key_id: String,
pub private_key: String,
pub client_email: String,
pub client_id: String,
pub auth_uri: String,
pub token_uri: String,
pub auth_provider_x509_cert_url: String,
pub client_x509_cert_url: String,
}
#[derive(Deserialize, Debug, Clone)]