diff --git a/skel/server/index.js b/skel/server/index.js index faafc9d..ef148d4 100644 --- a/skel/server/index.js +++ b/skel/server/index.js @@ -86,7 +86,7 @@ async function startServer() { { subscriptionManager, - // the obSubscribe function is called for every new subscription + // the onSubscribe function is called for every new subscription // and we use it to set the GraphQL context for this subscription onSubscribe: (msg, params) => { return Object.assign({}, params, { diff --git a/test/output-app/server/index.js b/test/output-app/server/index.js index 8366e28..6d94c5c 100644 --- a/test/output-app/server/index.js +++ b/test/output-app/server/index.js @@ -86,7 +86,7 @@ async function startServer() { { subscriptionManager, - // the obSubscribe function is called for every new subscription + // the onSubscribe function is called for every new subscription // and we use it to set the GraphQL context for this subscription onSubscribe: (msg, params) => { return Object.assign({}, params, {