瀏覽代碼

fix: return code in service api (#6911)

crazywoola 8 月之前
父節點
當前提交
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):