feat: documents backend integration
This commit is contained in:
1 parent
fe997abc6d
commit
eddb6fc7b7
6 files changed
+174
-9
No files matched your search
@@ -97,8 +97,8 @@ async def update_doc_by_name(
|
||||
return doc
|
||||
else:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_401_UNAUTHORIZED,
|
||||
detail=ERROR_MESSAGES.ACCESS_PROHIBITED,
|
||||
status_code=status.HTTP_400_BAD_REQUEST,
|
||||
detail=ERROR_MESSAGES.NAME_TAG_TAKEN,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user