Commit 2d95aa67 authored by crazywoola's avatar crazywoola

chore: cleanup return

parent 71474991
...@@ -64,7 +64,8 @@ class ConversationDetailApi(AppApiResource): ...@@ -64,7 +64,8 @@ class ConversationDetailApi(AppApiResource):
end_user = create_or_update_end_user_for_user_id(app_model, args['user']) end_user = create_or_update_end_user_for_user_id(app_model, args['user'])
try: try:
return ConversationService.delete(app_model, conversation_id, end_user) ConversationService.delete(app_model, conversation_id, end_user)
return {"result": "success"}, 204
except services.errors.conversation.ConversationNotExistsError: except services.errors.conversation.ConversationNotExistsError:
raise NotFound("Conversation Not Exists.") raise NotFound("Conversation Not Exists.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment