fix: Changed to default

This commit is contained in:
Pontus Dreij
2024-12-19 15:33:23 +01:00
parent 70d9533b13
commit 54086c40fc

View File

@@ -58,8 +58,8 @@ export const restaurantSchema = z
images: z.array(imageSchema), images: z.array(imageSchema),
texts: z.object({ texts: z.object({
descriptions: z.object({ descriptions: z.object({
short: z.string().optional(), short: z.string().default(""),
medium: z.string().optional(), medium: z.string().default(""),
}), }),
}), }),
bookTableUrl: z.string().optional(), bookTableUrl: z.string().optional(),