Skip to content

Commit

Permalink
fix: change year fiels from string to number
Browse files Browse the repository at this point in the history
  • Loading branch information
LordHarsh committed Sep 22, 2024
1 parent d35a78b commit 59feb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/api/research/research.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export const ResearchSchema = z.object({
registrationNumber: z.string().trim().toUpperCase(),
phoneNumber: z.string(),
department: z.string().trim(),
year: z.string(),
year: z.number(),
github: z.string().url(),
});

0 comments on commit 59feb13

Please sign in to comment.