Skip to content

Commit

Permalink
fix: Not able to send message to slack private channel (#1036)
Browse files Browse the repository at this point in the history
Signed-off-by: Shashwat Rawat <shashwat.rawat@appdirect.com>
  • Loading branch information
shashwat-appdirect committed Jan 25, 2021
1 parent 4c93e07 commit 24a0115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sensors/triggers/slack/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func (t *SlackTrigger) Execute(ctx context.Context, events map[string]*v1alpha1.

params := &slack.GetConversationsParameters{
Limit: 200,
Types: []string{"public_channel,private_channel"},
}
channelID := ""
for {
Expand Down

0 comments on commit 24a0115

Please sign in to comment.