Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
487dff6
1
Parent(s):
7a19fc7
Update app.py
Browse files
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
|
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):
|