Spaces:
Sleeping
Sleeping
OnlyBiggg
commited on
Commit
·
bb6a39d
1
Parent(s):
3d96c67
fix
Browse files
common/external/external_api.py
CHANGED
|
@@ -53,6 +53,7 @@ class API():
|
|
| 53 |
url = f"{api_base}{endpoint}"
|
| 54 |
else:
|
| 55 |
url = f"{API_BASE_URL}{endpoint}"
|
|
|
|
| 56 |
access_token = await get_access_token()
|
| 57 |
headers = headers or {}
|
| 58 |
headers.setdefault("Content-Type", "application/json")
|
|
|
|
| 53 |
url = f"{api_base}{endpoint}"
|
| 54 |
else:
|
| 55 |
url = f"{API_BASE_URL}{endpoint}"
|
| 56 |
+
print(f"URL: {url}")
|
| 57 |
access_token = await get_access_token()
|
| 58 |
headers = headers or {}
|
| 59 |
headers.setdefault("Content-Type", "application/json")
|