Skip to content

Commit

Permalink
Merge pull request #1345 from ManishMadan2882/main
Browse files Browse the repository at this point in the history
Bug fix: /api/share route
  • Loading branch information
dartpain authored Oct 20, 2024
2 parents d2a988a + b781d78 commit 2c25f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/api/user/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ def post(self):
"conversation_id": DBRef(
"conversations", ObjectId(conversation_id)
),
"isPromptable": not is_promptable,
"isPromptable": is_promptable,
"first_n_queries": current_n_queries,
"user": user,
}
Expand All @@ -962,7 +962,7 @@ def post(self):
"$ref": "conversations",
"$id": ObjectId(conversation_id),
},
"isPromptable": not is_promptable,
"isPromptable": is_promptable,
"first_n_queries": current_n_queries,
"user": user,
}
Expand Down

0 comments on commit 2c25f4a

Please sign in to comment.