Skip to content

Commit

Permalink
don't lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Aug 18, 2023
1 parent 7014443 commit 8bb2bfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cloudflare-basics",
"type": "module",
"version": "0.0.7",
"version": "0.0.8",
"packageManager": "pnpm@8.5.1",
"description": "",
"author": "Alex MaccCaw <alex@alexmaccaw.com>",
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/zod-validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function withZod<Env, Schema>(
const firstError = result.error?.errors?.[0]

if (firstError) {
return error(`${firstError.path} ${firstError.message}`.toLowerCase(), {
return error(`${firstError.path} ${firstError.message}`, {
type: firstError.code,
status: 400,
})
Expand Down

0 comments on commit 8bb2bfa

Please sign in to comment.