vietdata commited on
Commit
1992834
·
1 Parent(s): 446384d

first update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def authenticate(user_id):
20
  "Accept": "application/json",
21
  "X-Public-Api-Key": os.environ['ADMIN']
22
  }
23
- payload = { "token": "NPldirErwCHb6ZB5NZ9WW0UDmlr3jxxJ" }
24
  response = requests.post(url, json=payload, headers=headers)
25
 
26
  return response.status_code == 200
 
20
  "Accept": "application/json",
21
  "X-Public-Api-Key": os.environ['ADMIN']
22
  }
23
+ payload = { "token": user_id }
24
  response = requests.post(url, json=payload, headers=headers)
25
 
26
  return response.status_code == 200