Sunagatov / Iced-Latte

a online Marketplace for coffee retail (Backend)
https://iced-latte.uk
MIT License
610 stars 115 forks source link

(PRODUCT PAGE) The request for like product review that send twice led to removing all likes and dislikes on the product review #301

Open Diana-Smolnikova opened 6 months ago

Diana-Smolnikova commented 6 months ago

Describe the bug When the request for a like product review is sent again, all previous likes and dislikes, both mine and those of other users, are removed.

Expected Result Upon resending the request with { "isLike" : "true" } the previously set like should be removed.

Actual Result Upon resending the request { "isLike" : "true" } all likes/dislikes are removed.

https://github.com/Sunagatov/Iced-Latte/assets/164781898/928cc644-de0b-4b7f-b55d-625488c40b66

github-actions[bot] commented 6 months ago

Hello there!

We truly appreciate you taking the time to create a new issue for our project on GitHub. Your input helps us improve and grow. Thank you!