nagasurendra commited on
Commit
2731d4a
·
verified ·
1 Parent(s): 6fad6e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def login():
107
  new_reward_points = reward_points - 500
108
  sf.Customer_Login__c.update(user['Id'], {"Reward_Points__c": new_reward_points})
109
 
110
- return redirect(url_for("menu"))
111
 
112
  else:
113
  print("Invalid credentials!")
 
107
  new_reward_points = reward_points - 500
108
  sf.Customer_Login__c.update(user['Id'], {"Reward_Points__c": new_reward_points})
109
 
110
+ return redirect(url_for("menu.menu"))
111
 
112
  else:
113
  print("Invalid credentials!")