Skip to content
Snippets Groups Projects

Return metadata from PUT

Merged Cain, Payton David requested to merge ghsc/users/pcain/geomag-algorithms:issue-9 into master
All threads resolved!
@@ -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)
+5
return metadata
Loading