Skip to content

Commit

Permalink
fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVation committed May 17, 2023
1 parent e081d19 commit 9c1280f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/users/[userId]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fromZodError } from "zod-validation-error";

import { Database } from "~/types/supabase";

export const userNameSchema = z.object({
const userNameSchema = z.object({
name: z.string().min(3).max(32),
email: z.string().email(),
});
Expand Down

1 comment on commit 9c1280f

@vercel
Copy link

@vercel vercel bot commented on 9c1280f May 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.