fix(conversation-service): return success response after conversation… (#10416)
This commit is contained in:
parent
823ae03a08
commit
a5558f8fcc
2 changed files with 4 additions and 2 deletions
|
|
@ -160,4 +160,7 @@ class ConversationService:
|
|||
conversation = cls.get_conversation(app_model, conversation_id, user)
|
||||
|
||||
conversation.is_deleted = True
|
||||
conversation.updated_at = datetime.now(timezone.utc).replace(tzinfo=None)
|
||||
db.session.commit()
|
||||
|
||||
return {"result": "success"}, 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue