Skip to content

Commit 9514ebf

Browse files
committed
allow null values for trial_end_date
1 parent 490bb4b commit 9514ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emails/emails/invite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const schema = z.object({
2121
invite_url: z.string(),
2222
support_email: z.email().optional(),
2323
validity_period_days: z.number().int().positive().optional(),
24-
trial_end_date: z.string().optional(),
24+
trial_end_date: z.string().nullish(),
2525
});
2626

2727
export type InviteUserEmailProps = z.infer<typeof schema>;

0 commit comments

Comments
 (0)