chore: format
This commit is contained in:
@@ -827,9 +827,7 @@ class ChatTable:
|
||||
else:
|
||||
query = query.order_by(Chat.updated_at.desc(), Chat.id)
|
||||
|
||||
query = query.with_entities(
|
||||
Chat.id, Chat.title, Chat.updated_at, Chat.created_at, Chat.last_read_at
|
||||
)
|
||||
query = query.with_entities(Chat.id, Chat.title, Chat.updated_at, Chat.created_at, Chat.last_read_at)
|
||||
|
||||
if skip:
|
||||
query = query.offset(skip)
|
||||
@@ -1263,9 +1261,7 @@ class ChatTable:
|
||||
|
||||
query = query.order_by(Chat.updated_at.desc(), Chat.id)
|
||||
|
||||
query = query.with_entities(
|
||||
Chat.id, Chat.title, Chat.updated_at, Chat.created_at, Chat.last_read_at
|
||||
)
|
||||
query = query.with_entities(Chat.id, Chat.title, Chat.updated_at, Chat.created_at, Chat.last_read_at)
|
||||
|
||||
if skip:
|
||||
query = query.offset(skip)
|
||||
@@ -1348,9 +1344,7 @@ class ChatTable:
|
||||
|
||||
query = query.order_by(Chat.updated_at.desc(), Chat.id)
|
||||
|
||||
query = query.with_entities(
|
||||
Chat.id, Chat.title, Chat.updated_at, Chat.created_at, Chat.last_read_at
|
||||
)
|
||||
query = query.with_entities(Chat.id, Chat.title, Chat.updated_at, Chat.created_at, Chat.last_read_at)
|
||||
|
||||
if skip:
|
||||
query = query.offset(skip)
|
||||
|
||||
Reference in New Issue
Block a user