From 1e1b372d07c0c71c2d28558ce1da28bdcacb9955 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 11 Jun 2024 01:18:05 -0700 Subject: [PATCH] fix --- backend/apps/webui/routers/chats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/webui/routers/chats.py b/backend/apps/webui/routers/chats.py index 49df3d284..9d1cceaa1 100644 --- a/backend/apps/webui/routers/chats.py +++ b/backend/apps/webui/routers/chats.py @@ -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)): return Chats.archive_all_chats_by_user_id(user.id)