Skip to content

Commit 007768b

Browse files
authored
Fix subscriptions in JS (#1124)
1 parent beb2e4a commit 007768b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/static/graphene_django/graphiql.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
if (operationType === "subscription") {
124124
return {
125125
subscribe: function (observer) {
126-
subscriptionClient.request(graphQLParams).subscribe(observer);
127126
activeSubscription = subscriptionClient;
127+
return subscriptionClient.request(graphQLParams, opts).subscribe(observer);
128128
},
129129
};
130130
} else {

0 commit comments

Comments
 (0)