Ovi / DummyJSON

DummyJSON.com provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.
http://dummyjson.com
Other
1.84k stars 198 forks source link

Inconsistent field "discountPercentage" in database products.json and carts.json #83

Open highglorious opened 1 month ago

highglorious commented 1 month ago

Hi, thx for this great api. I found out that the values of the fields are different . When receiving the user's cart and further updating the cart, the "discountPercentage" values are different. The bug is the mismatch of fields values in the carts.js and products.js.

Ovi commented 1 month ago

Hi @highglorious! Can you share a sample/screenshot?

highglorious commented 1 month ago

Screenshot 2024-09-30 214201 Screenshot 2024-09-30 214333 I made a typo in my prev comment, i mean carts.json and products.json files. This is one example above on screenshot.