Browse Source

Fix conversation response issue (#10450)

tags/0.11.1
Benjamin 11 months ago
parent
commit
919275cc58
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      api/controllers/service_api/app/conversation.py

+ 2
- 1
api/controllers/service_api/app/conversation.py View File

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):

Loading…
Cancel
Save