From f56b18fd28054aa5b241a897d22bcfc58c321286 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 5 Sep 2024 14:21:32 +0200 Subject: Send notifications by Expo API --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index c288001..6988711 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,7 @@ mod config; mod db; mod errors; +mod expo; mod graphql; mod logger; mod routes; @@ -27,6 +28,7 @@ use tracing::Span; /// Create the app: setup everything and returns a `Router` async fn create_app() -> Router { logger::setup(); + expo::setup(CONFIG.expo_access_token.clone()); let dbclient = db::setup().await.unwrap(); let state = state::AppState { -- cgit v1.2.3-18-g5258