diff --git a/src/main.rs b/src/main.rs index b8737b0..273757d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -137,7 +137,10 @@ async fn launch() -> _ { .manage(S3ClientState { client: Arc::new(s3_client), }) - .manage(graphql::Context(graph_pool)) + .manage(graphql::Context { + pool: graph_pool, + api_key: None, // or Some(...) if you’re preloading a static API key + }) .manage(Schema::new( Query, EmptyMutation::new(),