Jelajahi Sumber

fix: return code in service api (#6911)

crazywoola 8 bulan lalu
induk
melakukan
7ab04e17e7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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):