nagasurendra commited on
Commit
bc4bcaa
·
verified ·
1 Parent(s): 4970acb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:7
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 []