Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skel/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down
2 changes: 1 addition & 1 deletion test/output-app/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down