-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for unstarring a snippet #197
Comments
/bounty $10 |
💎 $10 bounty • tscircuitSteps to solve:
Thank you for contributing to tscircuit/snippets! Add a bounty • Share on socials
|
/attempt #197
|
should i create another route for it? the initial one would be good enough to handle the add, and remove logic if it's not starred. like toggle the button to star and remove the star. and it may not need much work on the frontend too. @seveibar |
💡 @RohittCodes submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Sometimes we want to unstar things instead of starring them
Note that the api is supposed to return
snippet.is_starred
to indicate that the current user starred the snippetThe text was updated successfully, but these errors were encountered: