소스 검색

Fix conversation response issue (#10450)

Benjamin 9 달 전
부모
커밋
919275cc58
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      api/controllers/service_api/app/conversation.py

+ 2 - 1
api/controllers/service_api/app/conversation.py

@@ -62,9 +62,10 @@ class ConversationDetailApi(Resource):
         conversation_id = str(c_id)
 
         try:
-            return ConversationService.delete(app_model, conversation_id, end_user)
+            ConversationService.delete(app_model, conversation_id, end_user)
         except services.errors.conversation.ConversationNotExistsError:
             raise NotFound("Conversation Not Exists.")
+        return {"result": "success"}, 200
 
 
 class ConversationRenameApi(Resource):