mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
fix plugin help example - method arguments order (#19662)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
d9d75afa97
commit
a7186b9c97
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ func (p *HelpPlugin) OnConfigurationChange() error {
|
|||
return errors.Wrapf(err, "failed to find team %s", configuration.TeamName)
|
||||
}
|
||||
|
||||
channel, err := p.API.GetChannelByName(configuration.ChannelName, team.Id, false)
|
||||
channel, err := p.API.GetChannelByName(team.Id, configuration.ChannelName, false)
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "failed to find channel %s", configuration.ChannelName)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue