浏览代码

fix message sort (#15231)

tags/1.0.1
Mars 8 个月前
父节点
当前提交
126202648f
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/controllers/service_api/app/message.py

+ 1
- 1
api/controllers/service_api/app/message.py 查看文件



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

正在加载...
取消
保存