Commit 4e4e304b authored by crazywoola's avatar crazywoola

chore: cleanup return

parent 58553d85
......@@ -64,7 +64,8 @@ class ConversationDetailApi(AppApiResource):
end_user = create_or_update_end_user_for_user_id(app_model, args['user'])
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:
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