Handle invalid error in the request form

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2025-12-15 12:43:09 +01:00
parent 64d2ecee59
commit 893617ef51
5 changed files with 60 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ func NotBlacklisted() ValidatorFunc {
if err == nil {
return newValidationError(
ErrorCodeInvalidEnum,
ErrorCodeInvalidEmail,
"must not be blacklisted",
)
}