Skip to content

Commit

Permalink
fix: Change undefined to null in confirmationEmailSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Nov 17, 2023
1 parent b2fc694 commit e48b39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.planx.uk/modules/sendEmail/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const confirmationEmailSchema = z.object({
body: z.object({
payload: z.object({
sessionId: z.string(),
lockedAt: z.string().optional(),
lockedAt: z.string().or(z.null()),
email: z.string().email(),
}),
}),
Expand Down

0 comments on commit e48b39e

Please sign in to comment.