measmonysuon commited on
Commit
af27696
1 Parent(s): e48bfe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "http://65.108.76.174:5000/get_points"
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)