mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
change /chats/ and /chats/list to utilize new function
This commit is contained in:
parent
2b78e613a4
commit
a0667dfd1b
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ router = APIRouter()
|
|||
async def get_session_user_chat_list(
|
||||
user=Depends(get_verified_user), skip: int = 0, limit: int = 50
|
||||
):
|
||||
return Chats.get_chat_list_by_user_id(user.id, skip, limit)
|
||||
return Chats.get_chat_title_id_list_by_user_id(user.id, skip=skip, limit=limit)
|
||||
|
||||
|
||||
############################
|
||||
|
|
|
|||
Loading…
Reference in a new issue