Commit a0667dfd authored by Aryan Kothari's avatar Aryan Kothari
Browse files

change `/chats/` and `/chats/list` to utilize new function

parent 2b78e613
......@@ -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)
############################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment