Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -506,7 +506,7 @@ def menu():
|
|
506 |
custom_dish_query = """
|
507 |
SELECT Name, Price__c, Description__c, Image1__c, Image2__c, Veg_NonVeg__c, Section__c, Total_Ordered__c
|
508 |
FROM Custom_Dish__c
|
509 |
-
WHERE CreatedDate >= LAST_N_DAYS:
|
510 |
"""
|
511 |
custom_dish_result = sf.query(custom_dish_query)
|
512 |
custom_dishes = custom_dish_result['records'] if 'records' in custom_dish_result else []
|
|
|
506 |
custom_dish_query = """
|
507 |
SELECT Name, Price__c, Description__c, Image1__c, Image2__c, Veg_NonVeg__c, Section__c, Total_Ordered__c
|
508 |
FROM Custom_Dish__c
|
509 |
+
WHERE CreatedDate >= LAST_N_DAYS:1
|
510 |
"""
|
511 |
custom_dish_result = sf.query(custom_dish_query)
|
512 |
custom_dishes = custom_dish_result['records'] if 'records' in custom_dish_result else []
|