diff options
Diffstat (limited to 'cmd/mattermost/commands')
-rw-r--r-- | cmd/mattermost/commands/webhook.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mattermost/commands/webhook.go b/cmd/mattermost/commands/webhook.go index d2a60bed8..dbe292e72 100644 --- a/cmd/mattermost/commands/webhook.go +++ b/cmd/mattermost/commands/webhook.go @@ -32,7 +32,7 @@ func listWebhookCmdF(command *cobra.Command, args []string) error { var teams []*model.Team if len(args) < 1 { - var getErr error + var getErr *model.AppError // If no team is specified, list all teams teams, getErr = app.GetAllTeams() if getErr != nil { |