From a6d3887fb36da3f0e9b8f335febe92d49b5c5cae Mon Sep 17 00:00:00 2001 From: chaffeqa Date: Fri, 11 Nov 2016 14:35:41 -0500 Subject: [PATCH] Fix missing operation_name warning --- graphene_django/templates/graphene/graphiql.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/templates/graphene/graphiql.html b/graphene_django/templates/graphene/graphiql.html index 3285683..949b850 100644 --- a/graphene_django/templates/graphene/graphiql.html +++ b/graphene_django/templates/graphene/graphiql.html @@ -112,7 +112,7 @@ add "&raw" to the end of the URL within a browser. {% if variables %} variables: '{{ variables|escapejs }}', {% endif %} - {% if operationName %} + {% if operation_name %} operationName: '{{ operation_name|escapejs }}', {% endif %} }),