Skip to content

Commit

Permalink
Fix endpoint response format (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalajcodes authored Mar 24, 2021
1 parent 1a5bb29 commit 031e3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/controllers/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def post(self):
)

result["video"] = map_to_dto(video)
return {"123": response.json(), "result": result}, 200
return result, 200


@video_ns.route("/<int:id>/sections")
Expand Down

0 comments on commit 031e3ee

Please sign in to comment.