feat: documents backend integration

This commit is contained in:
Timothy J. Baek 2024-01-08 01:49:20 -08:00
parent fe997abc6d
commit eddb6fc7b7
6 changed files with 174 additions and 9 deletions

View file

@ -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,
)