Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -264,7 +264,6 @@ def get_addons():
|
|
| 264 |
print(f"Error fetching add-ons: {e}")
|
| 265 |
return jsonify({"success": False, "error": "Unable to fetch add-ons. Please try again later."})
|
| 266 |
|
| 267 |
-
|
| 268 |
@app.route("/cart/update_quantity", methods=["POST"])
|
| 269 |
def update_quantity():
|
| 270 |
data = request.json # Extract JSON data from the request
|
|
|
|
| 264 |
print(f"Error fetching add-ons: {e}")
|
| 265 |
return jsonify({"success": False, "error": "Unable to fetch add-ons. Please try again later."})
|
| 266 |
|
|
|
|
| 267 |
@app.route("/cart/update_quantity", methods=["POST"])
|
| 268 |
def update_quantity():
|
| 269 |
data = request.json # Extract JSON data from the request
|