Skip to content

Commit

Permalink
Properly forwarded the response
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcorneliusmartin committed Nov 2, 2022
1 parent cd10ca2 commit 372c0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vantage6-node/vantage6/node/proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,4 +381,4 @@ def proxy(central_server_path: str) -> Response:
return {'msg': 'Request failed, see node logs'},\
HTTPStatus.INTERNAL_SERVER_ERROR

return response.json(), HTTPStatus.OK
return response.content, response.status_code, response.headers.items()

0 comments on commit 372c0ec

Please sign in to comment.