diff --git a/company/views.py b/company/views.py index 3e899a233..3642c1c33 100644 --- a/company/views.py +++ b/company/views.py @@ -855,7 +855,7 @@ def get_channel_id(self, app, channel_name): cursor = None try: while True: - response = app.conversations_list(cursor=cursor) + response = app.client.conversations_list(cursor=cursor) for channel in response["channels"]: if channel["name"] == channel_name.strip("#"): return channel["id"]