Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -334,7 +334,7 @@ def submit_customization_ingredients():
|
|
334 |
'Section__c': menu_item.get('section', ''),
|
335 |
'Customer_Email__c': customer_email # Store session email
|
336 |
})
|
337 |
-
|
338 |
'Name': item['name'],
|
339 |
'Price__c': total_price,
|
340 |
'Description__c': f"Add-Ons: {ingredient_names}; Instructions: {item.get('instructions', '')}",
|
|
|
334 |
'Section__c': menu_item.get('section', ''),
|
335 |
'Customer_Email__c': customer_email # Store session email
|
336 |
})
|
337 |
+
sf.Custom_Dish__c.create({
|
338 |
'Name': item['name'],
|
339 |
'Price__c': total_price,
|
340 |
'Description__c': f"Add-Ons: {ingredient_names}; Instructions: {item.get('instructions', '')}",
|