measmonysuon commited on
Commit
487dff6
1 Parent(s): 7a19fc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def retrieve_user_points(user_chat_id, otp):
99
  if response.status_code == 200:
100
  data = response.json()
101
  points = data.get("points", 0)
102
- return f"Your current balance is: {points}"
103
  return "Error retrieving points. Please try again later."
104
 
105
  def update_user_points(user_chat_id, points):
 
99
  if response.status_code == 200:
100
  data = response.json()
101
  points = data.get("points", 0)
102
+ return points
103
  return "Error retrieving points. Please try again later."
104
 
105
  def update_user_points(user_chat_id, points):