fix: change delete app status code from 204 to 200 (#18398)
Co-authored-by: devxing <devxing@gmail.com> Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
parent
c1559a7c8e
commit
136995d2a1
16 changed files with 19 additions and 19 deletions
|
|
@ -72,7 +72,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"}, 200
|
||||
return {"result": "success"}, 204
|
||||
|
||||
|
||||
class ConversationRenameApi(Resource):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue