From b645b32a9b7c6e7112c3e0094826bbd7e03835e0 Mon Sep 17 00:00:00 2001 From: TonyTVu Date: Thu, 22 Feb 2024 10:29:44 -0600 Subject: [PATCH] remove duplicate check --- graphql2/graphqlapp/escalationpolicy.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/graphql2/graphqlapp/escalationpolicy.go b/graphql2/graphqlapp/escalationpolicy.go index 6e273595f1..5a536dac3a 100644 --- a/graphql2/graphqlapp/escalationpolicy.go +++ b/graphql2/graphqlapp/escalationpolicy.go @@ -82,14 +82,6 @@ func (m *Mutation) CreateEscalationPolicyStep(ctx context.Context, input graphql } } - if input.Actions != nil { - for _, action := range input.Actions { - if ok, err := (*App)(m).ValidateDestination(ctx, "input.actions", &action); !ok { - return nil, err - } - } - } - err = withContextTx(ctx, m.DB, func(ctx context.Context, tx *sql.Tx) error { s := &escalation.Step{ DelayMinutes: input.DelayMinutes,