Skip to content

Commit

Permalink
fix: birthday being undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRamosAcosta committed Apr 1, 2024
1 parent 22758ca commit e017bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructure/factorial-client/schema/Employee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Employee = z.object({
preferredName: z.string().nullable(),
pronouns: z.string().nullable(),
regularAccessStartsOn: z.string().nullable(),
showBirthday: z.boolean(),
showBirthday: z.boolean().optional(),
supervisedByCurrent: z.boolean(),
tenureStartDate: z.string().nullable(),
terminatedOn: z.string().nullable(),
Expand Down

0 comments on commit e017bc7

Please sign in to comment.