Language: TypeScript. The pull request has one bug. You get three tries to find the line, then a short debrief.
The cart page gets "−" and "+" buttons next to each product. Every click sends the new quantity to the API; quantity 0 removes the product. The request is validated with a schema, and the number field in the form only allows 1 to 99.
Codetrap needs JavaScript: the code review happens in your browser.