Small fix in the webhook list error handling (#9567)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ee1700d6b2
Коммит
0a68e741d0
@@ -32,7 +32,7 @@ func listWebhookCmdF(command *cobra.Command, args []string) error {
|
|||||||
|
|
||||||
var teams []*model.Team
|
var teams []*model.Team
|
||||||
if len(args) < 1 {
|
if len(args) < 1 {
|
||||||
var getErr error
|
var getErr *model.AppError
|
||||||
// If no team is specified, list all teams
|
// If no team is specified, list all teams
|
||||||
teams, getErr = app.GetAllTeams()
|
teams, getErr = app.GetAllTeams()
|
||||||
if getErr != nil {
|
if getErr != nil {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user