Spaces:
Runtime error
Runtime error
Update menu.py
Browse files
menu.py
CHANGED
@@ -78,7 +78,7 @@ def fetch_menu_data(selected_category, user_email):
|
|
78 |
SELECT Name, Price__c, Description__c, Image1__c, Image2__c,
|
79 |
Veg_NonVeg__c, Section__c, Total_Ordered__c
|
80 |
FROM Custom_Dish__c
|
81 |
-
WHERE CreatedDate >= LAST_N_DAYS:7
|
82 |
"""
|
83 |
custom_dish_result = sf.query_all(custom_dish_query)
|
84 |
custom_dishes = custom_dish_result.get('records', [])
|
|
|
78 |
SELECT Name, Price__c, Description__c, Image1__c, Image2__c,
|
79 |
Veg_NonVeg__c, Section__c, Total_Ordered__c
|
80 |
FROM Custom_Dish__c
|
81 |
+
WHERE CreatedDate >= LAST_N_DAYS:7
|
82 |
"""
|
83 |
custom_dish_result = sf.query_all(custom_dish_query)
|
84 |
custom_dishes = custom_dish_result.get('records', [])
|