fix: unable to save legacy surveys (#2280)

This commit is contained in:
Matti Nannt
2024-03-19 10:06:18 +01:00
committed by GitHub
parent 63708ec92b
commit 6c84850a7e
4 changed files with 4 additions and 4 deletions
@@ -53,7 +53,7 @@ export type TUserObjective = z.infer<typeof ZUserObjective>;
export const ZSurveyWelcomeCard = z.object({
enabled: z.boolean(),
headline: z.optional(z.string()),
headline: z.string().optional(),
html: z.string().optional(),
fileUrl: z.string().optional(),
buttonLabel: z.string().optional(),