Skip to content

Commit

Permalink
Replaced channels.list call with conversations.list since channels ca…
Browse files Browse the repository at this point in the history
…ll is no longer available.
  • Loading branch information
Matt Siegel committed Dec 4, 2020
1 parent e496fe2 commit b95b269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/aws_sns_to_slack_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class SnsPublishError(HandlerBaseError):
def _check_slack_channel_exists(token: str, channel: str) -> None:
'''Check given Slack channel exists'''
r = SLACK.api_call(
"channels.list",
"conversations.list",
token=token,
)
_logger.debug('Slack response: {}'.format(json.dumps(r)))
Expand Down

0 comments on commit b95b269

Please sign in to comment.