Allow '' in ID regex

This commit is contained in:
Alan Bernstein 2020-07-10 18:07:17 -05:00
parent 7c37ececfd
commit 65febc37fd

View file

@ -25,7 +25,7 @@ import (
"github.com/pkg/errors"
)
var txIDRegexp = regexp.MustCompile("^[A-Za-z0-9_-]$")
var txIDRegexp = regexp.MustCompile("^[A-Za-z0-9_-]*$")
// Transaction contains information related to a block of work that
// needs to be tracked and spans multiple API calls.