diff --git a/notifiers/update.go b/notifiers/update.go index d6d451282..83647162a 100644 --- a/notifiers/update.go +++ b/notifiers/update.go @@ -30,7 +30,7 @@ func Update(ctx context.Context, app, ID string, params ProvisionParams) error { // If there is no selected events, keep the existing ones if len(params.SelectedEventNames) == 0 { - params.SelectedEventIDs = append(params.SelectedEventIDs, notifier.SelectedEventIDs...) + params.NotifierParams.SelectedEventIDs = append([]string{}, notifier.SelectedEventIDs...) } else { for _, name := range params.SelectedEventNames { for _, t := range eventTypes {