Skip to content

Commit

Permalink
chore(notifications): more fcm boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Feb 7, 2024
1 parent f9fc09d commit f74fc94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/notifications/src/executor/fcm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use error::*;

#[derive(Clone)]
pub struct FcmClient {
pub client: FirebaseCloudMessaging<HttpsConnector<HttpConnector>>,
client: FirebaseCloudMessaging<HttpsConnector<HttpConnector>>,
}

impl FcmClient {
Expand All @@ -35,4 +35,8 @@ impl FcmClient {

Ok(Self { client })
}

pub async fn _send(&self, message: String) -> Result<(), FcmError> {
unimplemnted!()
}
}

0 comments on commit f74fc94

Please sign in to comment.