mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
modify the name field to a minimum of 2 characters
This commit is contained in:
@ -15,7 +15,7 @@ export const usernameSchema = z
|
||||
|
||||
export const userSchema = z.object({
|
||||
id: idSchema,
|
||||
name: z.string().min(3).max(255),
|
||||
name: z.string().min(2).max(255),
|
||||
picture: z.literal("").or(z.null()).or(z.string().url()),
|
||||
username: usernameSchema,
|
||||
email: z.string().email(),
|
||||
|
||||
Reference in New Issue
Block a user