diff --git a/graphene_django/static/graphene_django/graphiql.js b/graphene_django/static/graphene_django/graphiql.js index 8c3b5ce..ac010e8 100644 --- a/graphene_django/static/graphene_django/graphiql.js +++ b/graphene_django/static/graphene_django/graphiql.js @@ -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 {