Skip to content

Commit d82b0c4

Browse files
committed
[REM] unwanted changes
1 parent 414242d commit d82b0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_base/controllers/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _process_request(self, schema, data):
6161
return response
6262
except HttpQueryError as e:
6363
result = json_encode({"errors": [{"message": str(e)}]})
64-
headers = dict()
64+
headers = dict(e.headers)
6565
headers["Content-Type"] = "application/json"
6666
response = http.request.make_response(result, headers=headers)
6767
response.status_code = e.status_code

0 commit comments

Comments
 (0)