diff --git a/CHANGELOG.md b/CHANGELOG.md index f656d6fc..6f8e68e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## v1.3.34 (2023-09-05) + +### Fixed + +- Fix issue in `apps.slack.tasks.populate_slack_channels_for_team` task by @joeyorlando ([#2969](https://github.com/grafana/oncall/pull/2969)) + ## v1.3.33 (2023-09-05) ### Fixed diff --git a/engine/apps/slack/tasks.py b/engine/apps/slack/tasks.py index ca746e31..d669be75 100644 --- a/engine/apps/slack/tasks.py +++ b/engine/apps/slack/tasks.py @@ -540,11 +540,9 @@ def populate_slack_channels_for_team(slack_team_identity_id: int, cursor: Option response, cursor, rate_limited = sc.paginated_api_call_with_ratelimit( "conversations_list", paginated_key="channels", - json={ - "types": "public_channel,private_channel", - "limit": 1000, - "cursor": cursor, - }, + types="public_channel,private_channel", + limit=1000, + cursor=cursor, ) except SlackAPITokenException as e: logger.info(f"token revoked\n{e}")