Spaces:
Running
Running
first update
Browse files
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":
|
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
|