remove graphQL context from main.rs
This commit is contained in:
parent
46a9e17973
commit
3a7dbde2dd
2 changed files with 6 additions and 10 deletions
|
|
@ -141,10 +141,6 @@ async fn launch() -> _ {
|
|||
.manage(S3ClientState {
|
||||
client: Arc::new(s3_client),
|
||||
})
|
||||
.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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue