Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def authorize(api_key):
|
|
| 20 |
"identificator": api_key
|
| 21 |
}
|
| 22 |
test_headers = {
|
| 23 |
-
"authorization":
|
| 24 |
"Content-Type": "application/json",
|
| 25 |
}
|
| 26 |
|
|
|
|
| 20 |
"identificator": api_key
|
| 21 |
}
|
| 22 |
test_headers = {
|
| 23 |
+
"authorization": os.getenv("KEY"),
|
| 24 |
"Content-Type": "application/json",
|
| 25 |
}
|
| 26 |
|