DSatishchandra commited on
Commit
5cd09e3
·
verified ·
1 Parent(s): e0c9350

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -766,7 +766,7 @@ def add_suggestion_to_cart():
766
  return jsonify({"success": False, "error": str(e)})
767
 
768
 
769
- @app.route('/cart/add', methods=['POST'])
770
  def add_to_cart():
771
  data = request.json
772
  item_name = data.get('itemName').strip()
 
766
  return jsonify({"success": False, "error": str(e)})
767
 
768
 
769
+ @app.route('/cart/add', methods=['POST'])
770
  def add_to_cart():
771
  data = request.json
772
  item_name = data.get('itemName').strip()