♻️ Address pull request feedback
This commit is contained in:
1 parent
1651361b7f
commit
7b2ce22bca
2 files changed
+4
-4
No files matched your search
@@ -56,7 +56,7 @@ const handleTooSmallError = (issue: ZodTooSmallIssue, ctx: ErrorMapCtx) => {
|
||||
}
|
||||
|
||||
return {
|
||||
key: `errors.too_small.${issue.type}`,
|
||||
key: `errors.tooSmall.${issue.type}`,
|
||||
params: {
|
||||
minimum: issue.minimum,
|
||||
count: issue.minimum,
|
||||
@@ -72,7 +72,7 @@ const handleTooBigError = (issue: ZodTooBigIssue, ctx: ErrorMapCtx) => {
|
||||
}
|
||||
|
||||
return {
|
||||
key: `errors.too_big.${issue.type}`,
|
||||
key: `errors.tooBig.${issue.type}`,
|
||||
params: {
|
||||
maximum: issue.maximum,
|
||||
count: issue.maximum,
|
||||
|
||||
Reference in new issue
Block a user