diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 96cdc61..b9b7f87 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,11 +31,11 @@ use tracing::Span; /// Create the app: setup everything and returns a `Router` async fn create_app() -> Result<Router, AppError> { logger::setup(); - expo::setup(CONFIG.expo_access_token.clone()); let dbclient = db::setup().await?; let state = state::AppState { client: Arc::new(dbclient), + expo: Arc::new(expo::setup(CONFIG.expo_access_token.clone())), }; let schema = Schema::build( |