Skip to content

Commit b503828

Browse files
committed
fix x-www-form-urlencode case
1 parent 466a26e commit b503828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_graphql/graphqlview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def parse_body(self):
136136
elif content_type == 'application/json':
137137
return load_json_body(request.data.decode('utf8'))
138138

139-
elif content_type in 'application/x-www-form-urlencoded':
139+
elif content_type == 'application/x-www-form-urlencoded':
140140
return request.form
141141

142142
elif content_type == 'multipart/form-data':

0 commit comments

Comments
 (0)