allow boolean values in html
This commit is contained in:
@@ -18,7 +18,7 @@ export const emailSchema = z
|
|||||||
cc: z.string().email().or(z.array(z.string().email())).optional(),
|
cc: z.string().email().or(z.array(z.string().email())).optional(),
|
||||||
bcc: 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(),
|
text: z.string().min(1).optional().nullable(),
|
||||||
html: z.string().min(1).optional().nullable(),
|
html: z.coerce.string().min(1).optional().nullable(),
|
||||||
attachments: z
|
attachments: z
|
||||||
.array(
|
.array(
|
||||||
z.object({
|
z.object({
|
||||||
|
Reference in New Issue
Block a user