Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Update libs/dto/src/user/user.ts

Amruth Pillai8fc3c2571439
diff --git a/libs/dto/src/user/user.ts b/libs/dto/src/user/user.ts
index 8c8321691..a4c0c0d6e 100644
--- a/libs/dto/src/user/user.ts
+++ b/libs/dto/src/user/user.ts
@@ -15,7 +15,7 @@ export const usernameSchema = z
export const userSchema = z.object({
id: idSchema,
- name: z.string().min(2).max(255),
+ name: z.string().min(1).max(255),
picture: z.literal("").or(z.null()).or(z.string().url()),
username: usernameSchema,
email: z.string().email(),