浏览代码

fix: return code in service api (#6911)

tags/0.6.16
crazywoola 1年前
父节点
当前提交
7ab04e17e7
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/controllers/service_api/app/conversation.py

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

@@ -53,7 +53,7 @@ class ConversationDetailApi(Resource):
ConversationService.delete(app_model, conversation_id, end_user)
except services.errors.conversation.ConversationNotExistsError:
raise NotFound("Conversation Not Exists.")
return {"result": "success"}, 204
return {'result': 'success'}, 200


class ConversationRenameApi(Resource):

正在加载...
取消
保存