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!
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -93,4 +93,6 @@ async def update_metadata(
user: User = Depends(require_user([os.getenv("REVIEWER_GROUP", "reviewer")])),
):
await metadata_table.update_metadata(metadata)
return get_metadata_by_id(metadata.id)
# should be same, but read from database
return await get_metadata_by_id(metadata.id)
Loading