learning-project-01 / bookstore-app

3 stars 2 forks source link

cart summary api is giving wrong response #36

Closed rkpatra201 closed 10 months ago

rkpatra201 commented 10 months ago

image

User has added 18 units of Product A. Unit price for Product A is 20. So total should be 18 * 20 = 360 but it shows 400 (see line 12 of image attached above )which is wrong.

Ansu-s commented 10 months ago

Changed the code and tested it and it is running correctly

Screenshot (261)

rkpatra201 commented 10 months ago

@Ansu-s / @Subhransupanda2000 any one of them please create PR for this. I have to merge this defect today. We cant take it delayed though it is a learning project we should show some interest else better we stop here.