izuemon commited on
Commit
2eb6a83
·
verified ·
1 Parent(s): 11065e2

Update join.py

Browse files
Files changed (1) hide show
  1. join.py +1 -1
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()