Updated zod to v4

This commit is contained in:
Alexis
2025-07-26 23:18:09 +02:00
parent b0975ee293
commit 1d74d6f64b
18 changed files with 162 additions and 93 deletions

View File

@@ -4,7 +4,7 @@ import type { Calendar} from "~/models/CalendarConfig";
import { postCalendarSchema } from "~/models/CalendarConfig"
const paramsSchema = z.object({
id: z.number({ coerce: true }).positive().int()
id: z.coerce.number().positive().int()
})
export default defineEventHandler(async (event) => {