Skip to content
Snippets Groups Projects
Commit 84f730cd authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Merge branch 'issue-28' into 'master'

Status code fix for get_metadata_history_by_id

Closes #28

See merge request !85
parents 00bd1a9e ebb84453
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!85Status code fix for get_metadata_history_by_id
Pipeline #42387 failed
...@@ -96,7 +96,7 @@ async def get_metadata_history_by_id(id: int): ...@@ -96,7 +96,7 @@ async def get_metadata_history_by_id(id: int):
database=database database=database
).get_metadata_history_by_id(id=id) ).get_metadata_history_by_id(id=id)
if metadata is None: if metadata is None:
return Response(status_code=400) return Response(status_code=404)
return metadata return metadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment