Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit e67331a

Browse files
committed
graphiql fix
1 parent 4cae032 commit e67331a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

graphene_gae/webapp2/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ def _get_grapl_params(self):
7171
if isinstance(request_data, six.string_types):
7272
request_data = dict(query=request_data)
7373
except:
74-
request_data = {}
74+
try:
75+
request_data = json.loads(self.request.body)
76+
except ValueError:
77+
request_data = {}
7578

7679
request_data.update(dict(self.request.GET))
7780

0 commit comments

Comments
 (0)