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>
Этот коммит содержится в:
@@ -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)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user