lokesh341 commited on
Commit
bcebd75
·
verified ·
1 Parent(s): a5b0d36

Update menu.py

Browse files
Files changed (1) hide show
  1. menu.py +4 -1
menu.py CHANGED
@@ -279,4 +279,7 @@ def add_to_cart():
279
  return jsonify({"success": False, "error": f"Invalid data format: {str(e)}"}), 400
280
  except Exception as e:
281
  print(f"Error adding item to cart: {str(e)}")
282
- return jsonify({"success": False, "error": "An error occurred while adding the item to the cart."}), 500
 
 
 
 
279
  return jsonify({"success": False, "error": f"Invalid data format: {str(e)}"}), 400
280
  except Exception as e:
281
  print(f"Error adding item to cart: {str(e)}")
282
+ return jsonify({"success": False, "error": "An error occurred while adding the item to the cart."}), 500
283
+
284
+
285
+