Commit 6e51220b authored by crazywoola's avatar crazywoola

fix: change query for conversation

parent 2d95aa67
......@@ -412,7 +412,7 @@ def _get_conversation(app_id, conversation_id, mode):
app = _get_app(app_id, mode)
conversation = db.session.query(Conversation) \
.filter(Conversation.id == conversation_id, Conversation.app_id == app.id, Conversation.is_deleted == False).first()
.filter(Conversation.id == conversation_id, Conversation.app_id == app.id).first()
if not conversation:
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