nagasurendra commited on
Commit
995061b
·
verified ·
1 Parent(s): 822593e

Update cart.py

Browse files
Files changed (1) hide show
  1. cart.py +1 -1
cart.py CHANGED
@@ -182,7 +182,7 @@ def add_suggestion_to_cart():
182
  except Exception as e:
183
  print(f"Error adding item to cart: {str(e)}")
184
  return jsonify({"success": False, "error": str(e)})
185
- @cart_blueprint.route('/cart/remove/<item_name>', methods=['POST'])
186
  def remove_cart_item(item_name):
187
  try:
188
  customer_email = session.get('user_email')
 
182
  except Exception as e:
183
  print(f"Error adding item to cart: {str(e)}")
184
  return jsonify({"success": False, "error": str(e)})
185
+ @cart_blueprint.route('/remove/<item_name>', methods=['POST'])
186
  def remove_cart_item(item_name):
187
  try:
188
  customer_email = session.get('user_email')