Skip to content

Commit 466a26e

Browse files
committed
remove unnecessary variable
1 parent 13c6cef commit 466a26e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flask_graphql/graphqlview.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,11 @@ def parse_body(self):
142142
elif content_type == 'multipart/form-data':
143143
operations = load_json_body(request.form['operations'])
144144
files_map = load_json_body(request.form['map'])
145-
new_ops = place_files_in_operations(
145+
return place_files_in_operations(
146146
operations,
147147
files_map,
148148
request.files
149149
)
150-
return new_ops
151150
return {}
152151

153152
def should_display_graphiql(self):

0 commit comments

Comments
 (0)