feat: archive all

This commit is contained in:
Timothy J. Baek committed 2024-05-26 02:54:35 -07:00
1 parent bf8c32f09f
commit 83107c8ea5
4 files changed
+299 -162

No files matched your search

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