Update customdish.py
Browse files- 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 | 
            -
                     | 
| 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
         |