nagasurendra commited on
Commit
221944a
·
verified ·
1 Parent(s): b25a46a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -256,7 +256,7 @@ def get_addons():
256
  except Exception as e:
257
  print(f"Error fetching add-ons: {e}")
258
  return jsonify({"success": False, "error": "Unable to fetch add-ons. Please try again later."})
259
- @app.route("/cart/update_quantity", methods=["POST"])
260
  def update_quantity():
261
  data = request.json # Extract JSON data from the request
262
  email = data.get('email')
 
256
  except Exception as e:
257
  print(f"Error fetching add-ons: {e}")
258
  return jsonify({"success": False, "error": "Unable to fetch add-ons. Please try again later."})
259
+ @app.route("/cart/update_quantity", methods=["POST"])
260
  def update_quantity():
261
  data = request.json # Extract JSON data from the request
262
  email = data.get('email')