Skip to content

Commit

Permalink
api - create amend return code
Browse files Browse the repository at this point in the history
Currently nothing returned hence 204.
  • Loading branch information
cherusk committed Nov 15, 2023
1 parent f55c0ab commit c61a03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def create_breeder(api_client, content):
#api_response['breeder'] = create_breeder(api_client, content).to_dict()
create_breeder(api_client, content)

return Response(dict(), status=200, mimetype='application/json')
return Response(dict(), status=204, mimetype='application/json')


def breeders_put(content): # noqa: E501
Expand Down

0 comments on commit c61a03f

Please sign in to comment.