summaryrefslogtreecommitdiffstats
path: root/plugin/example_help_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/example_help_test.go')
-rw-r--r--plugin/example_help_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/example_help_test.go b/plugin/example_help_test.go
index 3f9be9a20..175b6588e 100644
--- a/plugin/example_help_test.go
+++ b/plugin/example_help_test.go
@@ -30,7 +30,7 @@ func (p *HelpPlugin) OnConfigurationChange() error {
return nil
}
- channel, err := p.API.GetChannelByName(p.ChannelName, team.Id)
+ channel, err := p.API.GetChannelByName(p.ChannelName, team.Id, false)
if err != nil {
p.API.LogError("failed to find channel", "channel_name", p.ChannelName)
return nil