Replace "operation_name" with "operationName"

This commit is contained in:
Noelle Leigh 2020-04-17 15:50:56 -04:00
parent a9886d4bb5
commit 1c7c3b8b2f

View File

@ -45,7 +45,7 @@ class GraphQLTestCase(TestCase):
"""
body = {"query": query}
if op_name:
body["operation_name"] = op_name
body["operationName"] = op_name
if variables:
body["variables"] = variables
if input_data: