mirror of
https://github.com/open-webui/open-webui
synced 2025-01-29 22:08:07 +00:00
change /chats/
and /chats/list
to utilize new function
This commit is contained in:
parent
2b78e613a4
commit
a0667dfd1b
@ -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 New Issue
Block a user