Skip to content

Commit

Permalink
feat: allow all graduation years in bulk update
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Jan 25, 2024
1 parent 76c65e2 commit ef9ad29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/user/bulk.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const bulkCreateUserRequestBody = z.array(
z.object({
name: z.string().min(1),
email: z.string().email(),
graduationYear: z.number().int().min(2011),
graduationYear: z.number().int(),
memberType: z.enum([
'exco',
'associate',
Expand Down

0 comments on commit ef9ad29

Please # to comment.