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