Skip to content

Commit 9e69073

Browse files
committed
Fix comparison
1 parent 52e647f commit 9e69073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_graphql/graphqlview.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def parse_body(self):
135135
elif content_type == 'application/json':
136136
return load_json_body(request.data.decode('utf8'))
137137

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

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

0 commit comments

Comments
 (0)