+3
-1
internal/helpers/helpers.go
+3
-1
internal/helpers/helpers.go
···
6
6
"github.com/labstack/echo/v4"
7
7
)
8
8
9
-
var letters = []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")
9
+
// This will confirm to the regex in the application if 5 chars are used for each side of the -
10
+
// /^[A-Z2-7]{5}-[A-Z2-7]{5}$/
11
+
var letters = []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567")
10
12
11
13
func InputError(e echo.Context, custom *string) error {
12
14
msg := "InvalidRequest"