This commit is contained in:
Timothy J. Baek 2024-06-11 01:18:05 -07:00
parent bd5a8567ef
commit 1e1b372d07

View File

@ -161,7 +161,7 @@ async def get_archived_session_user_chat_list(
############################ ############################
@router.post("/archive/all", response_model=List[ChatTitleIdResponse]) @router.post("/archive/all", response_model=bool)
async def archive_all_chats(user=Depends(get_current_user)): async def archive_all_chats(user=Depends(get_current_user)):
return Chats.archive_all_chats_by_user_id(user.id) return Chats.archive_all_chats_by_user_id(user.id)