Mars 1 месяц назад
Родитель
Сommit
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:
         try:
             return MessageService.pagination_by_first_id(
             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:
         except services.errors.conversation.ConversationNotExistsError:
             raise NotFound("Conversation Not Exists.")
             raise NotFound("Conversation Not Exists.")