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

[GreenCity API] Fixed a bug where event dislikes were not returned correctly when retrieving an EventDto. #8179

Open
Andrii-Danylenko opened this issue Feb 26, 2025 · 1 comment
Assignees
Labels

Comments

@Andrii-Danylenko
Copy link
Member

Environment: OS, browser, it's version, device (for mobile devices).
Reproducible: always.
Build found: commit 1b9d570

Preconditions

  1. User is authorized
  2. Trying to get an event via the events/get endpoint

Steps to reproduce

  1. Go to Swagger
  2. Use events/get endpoint

Actual result
Even if event was disliked by any amount of users, dislike counter equal to 0

Expected result
Dislikes counter must be equal to amount of users, who disliked an event

@Andrii-Danylenko
Copy link
Member Author

The bug has been fixed and is awaiting testing/merging.

@Andrii-Danylenko Andrii-Danylenko changed the title [GreenCity] Fixed a bug where event dislikes were not returned correctly when retrieving an EventDto. [GreenCity API] Fixed a bug where event dislikes were not returned correctly when retrieving an EventDto. Feb 26, 2025
@Andrii-Danylenko Andrii-Danylenko moved this from To Do to On Review in Java GreenCity Sprint Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: On Review
1 participant