Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def authorize(api_key):
|
|
36 |
|
37 |
if response.status_code == 200:
|
38 |
response_json = response.json()
|
|
|
39 |
print(f"Response: {response_json}")
|
40 |
return True
|
41 |
else:
|
|
|
36 |
|
37 |
if response.status_code == 200:
|
38 |
response_json = response.json()
|
39 |
+
headers['authorization'] = api_key
|
40 |
print(f"Response: {response_json}")
|
41 |
return True
|
42 |
else:
|