Skip to content

Commit

Permalink
fix(server): Use subscribe from the config
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Sep 18, 2020
1 parent 9acdb62 commit 6fbd47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
parse,
validate,
getOperationAST,
subscribe,
GraphQLError,
SubscriptionArgs,
} from 'graphql';
Expand Down Expand Up @@ -216,6 +215,7 @@ export function createServer(
schema,
roots,
execute,
subscribe,
onConnect,
connectionInitWaitTimeout = 3 * 1000, // 3 seconds
validationRules,
Expand Down

0 comments on commit 6fbd47c

Please sign in to comment.