Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
af27696
1
Parent(s):
e48bfe4
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def notify_webhook(user_chat_id):
|
|
74 |
|
75 |
def get_user_points(user_chat_id):
|
76 |
"""Retrieve user points from the Flask server."""
|
77 |
-
webhook_url = "
|
78 |
params = {'user_chat_id': user_chat_id}
|
79 |
try:
|
80 |
response = requests.get(webhook_url, params=params)
|
|
|
74 |
|
75 |
def get_user_points(user_chat_id):
|
76 |
"""Retrieve user points from the Flask server."""
|
77 |
+
webhook_url = f"{webhook_server}/get_points"
|
78 |
params = {'user_chat_id': user_chat_id}
|
79 |
try:
|
80 |
response = requests.get(webhook_url, params=params)
|