nagasurendra commited on
Commit
f5646a6
·
verified ·
1 Parent(s): e76dcf1

Update customdish.py

Browse files
Files changed (1) hide show
  1. customdish.py +1 -1
customdish.py CHANGED
@@ -16,7 +16,7 @@ def generate_custom_dish():
16
 
17
  if not dish_name or not description:
18
  return jsonify({"success": False, "error": "Both fields are required"}), 400
19
- dish_name = dish_name.replace("'", "''")
20
 
21
  # Generate a random price for the custom dish
22
  price = random.randint(10, 30) # Example logic for price setting
 
16
 
17
  if not dish_name or not description:
18
  return jsonify({"success": False, "error": "Both fields are required"}), 400
19
+
20
 
21
  # Generate a random price for the custom dish
22
  price = random.randint(10, 30) # Example logic for price setting