Skip to content

Commit

Permalink
Add types to conversations_list
Browse files Browse the repository at this point in the history
  • Loading branch information
david1542 committed Jul 9, 2024
1 parent 4cebfa1 commit bc92ebc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/data-processor/src/loaders/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def fetch_slack_documents(integration: Integration):
# TODO: Add pagination to support more than 100 channels
channels = client.conversations_list(
exclude_archived=True,
types=["public_channel", "private_channel"],
)
channel_ids = [channel["id"] for channel in channels["channels"]]

Expand Down

0 comments on commit bc92ebc

Please sign in to comment.