refac
This commit is contained in:
1 parent
acaf9ab50c
commit
0638b9f56c
8 files changed
+109
-4
No files matched your search
@@ -644,7 +644,7 @@ async def get_chat_list_by_folder_id(
|
||||
skip = (page - 1) * limit
|
||||
|
||||
return [
|
||||
{'title': chat.title, 'id': chat.id, 'updated_at': chat.updated_at}
|
||||
{'title': chat.title, 'id': chat.id, 'updated_at': chat.updated_at, 'last_read_at': chat.last_read_at}
|
||||
for chat in Chats.get_chats_by_folder_id_and_user_id(folder_id, user.id, skip=skip, limit=limit, db=db)
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user