From b781d78cc6a48f36e7b19676f83edfd81aebf030 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Sun, 20 Oct 2024 02:11:22 +0530 Subject: [PATCH] fix(shared conv): bug fix --- application/api/user/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/user/routes.py b/application/api/user/routes.py index feee91cc..2ead8ef1 100644 --- a/application/api/user/routes.py +++ b/application/api/user/routes.py @@ -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, }