allow boolean values in html

This commit is contained in:
KMKoushik committed 2025-05-16 23:17:02 +10:00
1 parent 15993785eb
commit f3f81f1b1f
1 file changed
+1 -1
@@ -18,7 +18,7 @@ export const emailSchema = z
cc: z.string().email().or(z.array(z.string().email())).optional(),
bcc: z.string().email().or(z.array(z.string().email())).optional(),
text: z.string().min(1).optional().nullable(),
html: z.string().min(1).optional().nullable(),
html: z.coerce.string().min(1).optional().nullable(),
attachments: z
.array(
z.object({