Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 3bd763c

Browse files
HasithDeAlwisMFarabi619
authored andcommitted
fix(portal/profile): hackers are unable to create a profile when resume link is over 100 chars
1 parent 165a621 commit 3bd763c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/portal/features/profile/hooks/use-profile-schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function useProfileSchema(
7878
}),
7979
gender: z.string(),
8080
age: z.number().int().refine(value => value >= 18, { message: 'Must be 18 years or older to participate in cuHacking events' }).refine(value => value <= 120, { message: 'Invalid age' }),
81-
resumeLink: z.string().max(100).url().refine(
81+
resumeLink: z.string().max(200).url().refine(
8282
link =>
8383
/^(?:https:\/\/)?drive\.google\.com\/(?:file\/d\/|open\?id=)[\w-]+/.test(
8484
link,

0 commit comments

Comments
 (0)