коммит произвёл
GitHub
родитель
8ef7f78d8d
Коммит
532f2882d1
@@ -1305,6 +1305,10 @@ func (api *PluginAPI) UpdateCommand(commandID string, updatedCmd *model.Command)
|
||||
updatedCmd.TeamId = oldCmd.TeamId
|
||||
}
|
||||
|
||||
if appErr := api.app.validateCommandTriggerUniqueness(updatedCmd.TeamId, updatedCmd.Trigger, updatedCmd.Id); appErr != nil {
|
||||
return nil, appErr
|
||||
}
|
||||
|
||||
return api.app.Srv().Store().Command().Update(updatedCmd)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user