Skip to content
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

Double upvote and downvote operation is blocked. #557

Conversation

EnesBaserr
Copy link
Contributor

If question already down/upvoted then up/downvote will result in success.
Double upvote and downvote operation is blocked.

📋 Proposed Changes

  • Double upvote and downvote operation is blocked.
  • If question already down/upvoted then up/downvote will result in success.

Related Issue

Closes #547

🧪 Included Tests

image
image
image

If question already down/upvoted then up/downvote will result in success.
@EnesBaserr EnesBaserr merged commit f89a688 into develop Nov 23, 2024
1 check passed
@EnesBaserr EnesBaserr deleted the backend/bugfix/547-backend-opposite-vote-should-update-instead-of-error branch November 23, 2024 07:59
@EnesBaserr EnesBaserr self-assigned this Nov 23, 2024
@EnesBaserr EnesBaserr added the component: backend About backend label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: backend About backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Backend] Opposite vote should update instead of error [Backend] Double upvote should error
1 participant