fix(shared conv): bug fix

This commit is contained in:
ManishMadan2882
2024-10-20 02:11:22 +05:30
parent 3f7c8bdba5
commit b781d78cc6

View File

@@ -939,7 +939,7 @@ class ShareConversation(Resource):
"conversation_id": DBRef(
"conversations", ObjectId(conversation_id)
),
"isPromptable": not is_promptable,
"isPromptable": is_promptable,
"first_n_queries": current_n_queries,
"user": user,
}
@@ -962,7 +962,7 @@ class ShareConversation(Resource):
"$ref": "conversations",
"$id": ObjectId(conversation_id),
},
"isPromptable": not is_promptable,
"isPromptable": is_promptable,
"first_n_queries": current_n_queries,
"user": user,
}