Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
fix: make sure that options is initialised in Graphback context
Browse files Browse the repository at this point in the history
Fixes #1813
  • Loading branch information
machi1990 committed Aug 3, 2020
1 parent 8e4ff5f commit ce7236a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphback/src/buildGraphbackAPI.ts
Expand Up @@ -124,7 +124,7 @@ export function buildGraphbackAPI(model: string | GraphQLSchema, config: Graphba
const contextCreator = (context: any) => {
return {
...context,
graphback: { services }
graphback: { services, options: {} }
}
}

Expand Down

0 comments on commit ce7236a

Please sign in to comment.