Skip to content

Commit a29ece1

Browse files
committed
fixup! Port GraphQLView to Graphene 3
1 parent a1e33ab commit a29ece1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graphene_django/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ def get_response(self, request, data, show_graphiql=False):
162162
self.format_error(e) for e in execution_result.errors
163163
]
164164

165-
if execution_result.errors and any(not e.path for e in execution_result.errors):
165+
if execution_result.errors and any(
166+
not e.path for e in execution_result.errors
167+
):
166168
status_code = 400
167169
else:
168170
response["data"] = execution_result.data

0 commit comments

Comments
 (0)