mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
Fix subscriptions in JS (#1124)
This commit is contained in:
parent
beb2e4aae3
commit
007768b454
|
@ -123,8 +123,8 @@
|
|||
if (operationType === "subscription") {
|
||||
return {
|
||||
subscribe: function (observer) {
|
||||
subscriptionClient.request(graphQLParams).subscribe(observer);
|
||||
activeSubscription = subscriptionClient;
|
||||
return subscriptionClient.request(graphQLParams, opts).subscribe(observer);
|
||||
},
|
||||
};
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user