Skip to content
Snippets Groups Projects
Commit 830a25b9 authored by Cain, Payton David's avatar Cain, Payton David
Browse files

Return metadata from PUT

parent 5e560a84
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!73Return metadata from PUT
......@@ -91,5 +91,6 @@ async def update_metadata(
id: int,
metadata: Metadata = Body(...),
user: User = Depends(require_user([os.getenv("REVIEWER_GROUP", "reviewer")])),
):
) -> Metadata:
await metadata_table.update_metadata(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