We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
variables
1 parent 8928ec2 commit 8408c51Copy full SHA for 8408c51
graphene_django/utils/testing.py
@@ -45,7 +45,7 @@ def graphql_query(
45
if variables:
46
body["variables"] = variables
47
if input_data:
48
- if variables in body:
+ if "variables" in body:
49
body["variables"]["input"] = input_data
50
else:
51
body["variables"] = {"input": input_data}
0 commit comments