mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Fix conversation response issue (#10450)
This commit is contained in:
parent
4fe5297e35
commit
919275cc58
|
@ -62,9 +62,10 @@ class ConversationDetailApi(Resource):
|
|||
conversation_id = str(c_id)
|
||||
|
||||
try:
|
||||
return ConversationService.delete(app_model, conversation_id, end_user)
|
||||
ConversationService.delete(app_model, conversation_id, end_user)
|
||||
except services.errors.conversation.ConversationNotExistsError:
|
||||
raise NotFound("Conversation Not Exists.")
|
||||
return {"result": "success"}, 200
|
||||
|
||||
|
||||
class ConversationRenameApi(Resource):
|
||||
|
|
Loading…
Reference in New Issue
Block a user