Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def create_order():
if sku not in CATALOG:
return jsonify({"error": "Product not found"}), 404

unit_price = CATALOG[sku]
unit_price = item.get("unit_price_cents", CATALOG[sku])
quantity = item["quantity"]
line_items.append(
{
Expand Down