Rammohan0504 commited on
Commit
1af2542
·
verified ·
1 Parent(s): 0fae350

Update Cart_Page.py

Browse files
Files changed (1) hide show
  1. Cart_Page.py +1 -1
Cart_Page.py CHANGED
@@ -243,7 +243,7 @@ def remove_cart_item(item_name):
243
  return jsonify({'success': False, 'message': f"An error occurred: {str(e)}"}), 500
244
 
245
 
246
- cart_page.route("/cart/update_quantity", methods=["POST"])
247
  def update_quantity():
248
  data = request.json # Extract JSON data from the request
249
  email = data.get('email')
 
243
  return jsonify({'success': False, 'message': f"An error occurred: {str(e)}"}), 500
244
 
245
 
246
+ @cart_page.route("/cart/update_quantity", methods=["POST"])
247
  def update_quantity():
248
  data = request.json # Extract JSON data from the request
249
  email = data.get('email')