Skip to content

Commit 010c229

Browse files
committed
Change the error message.
1 parent 6f7892d commit 010c229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mavedb/routers/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ async def check_permission(
6262
return permission
6363
else:
6464
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")
65+
raise HTTPException(status_code=404, detail=f"{model_name.value} with URN '{urn}' not found")

0 commit comments

Comments
 (0)