Fix reference to single-digit record ids
This commit is contained in:
committed by
Mumbi Francis
parent
f00fa508e1
commit
c11165e19d
@@ -895,7 +895,7 @@ func (svc record) create(ctx context.Context, new *types.Record) (rec *types.Rec
|
||||
func RecordValueSanitization(m *types.Module, vv types.RecordValueSet) (err error) {
|
||||
var (
|
||||
aProps = &recordActionProps{}
|
||||
numeric = regexp.MustCompile(`^[1-9](\d+)$`)
|
||||
numeric = regexp.MustCompile(`^[1-9](\d*)$`)
|
||||
)
|
||||
|
||||
err = vv.Walk(func(v *types.RecordValue) error {
|
||||
|
||||
Reference in New Issue
Block a user