瀏覽代碼

fix message sort (#15231)

Mars 1 月之前
父節點
當前提交
126202648f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/controllers/service_api/app/message.py

+ 1 - 1
api/controllers/service_api/app/message.py

@@ -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.")