From 14be3d5a336c1b02f8ddcf17b76a0e104a86d62b Mon Sep 17 00:00:00 2001 From: Hailey Date: Sat, 29 Mar 2025 18:14:16 -0700 Subject: [PATCH] dumb --- internal/helpers/helpers.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/helpers/helpers.go b/internal/helpers/helpers.go index cbd3a78..b578277 100644 --- a/internal/helpers/helpers.go +++ b/internal/helpers/helpers.go @@ -6,7 +6,9 @@ import ( "github.com/labstack/echo/v4" ) -var letters = []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") +// This will confirm to the regex in the application if 5 chars are used for each side of the - +// /^[A-Z2-7]{5}-[A-Z2-7]{5}$/ +var letters = []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567") func InputError(e echo.Context, custom *string) error { msg := "InvalidRequest" -- 2.51.2