diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2024-09-05 14:21:32 +0200 | 
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2024-09-05 14:21:32 +0200 | 
| commit | f56b18fd28054aa5b241a897d22bcfc58c321286 (patch) | |
| tree | 10908e8ada3641be175f1af9857c3be6b7489f7c /src/main.rs | |
| parent | b592d19f1a74a32df0aaed7dbf7484d0ef5ad35a (diff) | |
Send notifications by Expo API
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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 { | 
