Spaces:
Running
Running
Update join.py
Browse files
join.py
CHANGED
|
@@ -57,7 +57,7 @@ def get_messages() -> List[Dict[str, Any]]:
|
|
| 57 |
|
| 58 |
def get_group_titles() -> dict[int, str]:
|
| 59 |
url = "https://desk-api.channel.io/desk/channels/200605/groups?limit=1000"
|
| 60 |
-
response = requests.get(url)
|
| 61 |
response.raise_for_status()
|
| 62 |
|
| 63 |
data = response.json()
|
|
|
|
| 57 |
|
| 58 |
def get_group_titles() -> dict[int, str]:
|
| 59 |
url = "https://desk-api.channel.io/desk/channels/200605/groups?limit=1000"
|
| 60 |
+
response = requests.get(url, headers=HEADERS)
|
| 61 |
response.raise_for_status()
|
| 62 |
|
| 63 |
data = response.json()
|