Needed to add await to one of the functions.

This commit is contained in:
Michael Woods
2025-12-26 14:39:02 -05:00
parent fda75aa822
commit ba00890f79

View File

@@ -44,7 +44,7 @@ async def object_detail_page(
current_user: HttpUser = Depends(get_current_http_user) current_user: HttpUser = Depends(get_current_http_user)
): ):
# Call the existing metadata API function # Call the existing metadata API function
obj = api_get_metadata(uuid=uuid, db=db, current_user=current_user) obj = await api_get_metadata(uuid=uuid, db=db, current_user=current_user)
return templates.TemplateResponse( return templates.TemplateResponse(
"object_detail.html", "object_detail.html",