Skip to content

Commit

Permalink
remove duplicate check
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyTVu committed Feb 22, 2024
1 parent 2008b6b commit b645b32
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions graphql2/graphqlapp/escalationpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b645b32

Please sign in to comment.