fix message sort (#15231)
This commit is contained in:
parent
dc8475995f
commit
126202648f
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class MessageListApi(Resource):
|
|||
|
||||
try:
|
||||
return MessageService.pagination_by_first_id(
|
||||
app_model, end_user, args["conversation_id"], args["first_id"], args["limit"], "desc"
|
||||
app_model, end_user, args["conversation_id"], args["first_id"], args["limit"]
|
||||
)
|
||||
except services.errors.conversation.ConversationNotExistsError:
|
||||
raise NotFound("Conversation Not Exists.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue