We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7892d commit 010c229Copy full SHA for 010c229
src/mavedb/routers/permissions.py
@@ -62,4 +62,4 @@ async def check_permission(
62
return permission
63
else:
64
logger.debug(msg="The requested resources does not exist.", extra=logging_context())
65
- raise HTTPException(status_code=404, detail=f"{model_name} with URN '{urn}' not found")
+ raise HTTPException(status_code=404, detail=f"{model_name.value} with URN '{urn}' not found")
0 commit comments