fix: input validation for 5 API routes #277

Closed
the-dogfather-cto[bot] wants to merge 6 commits from fix/gro-624-input-validation into main
Showing only changes of commit b230e015c2 - Show all commits
+1 -1
View File
@@ -9,7 +9,7 @@ const createServiceSchema = z.object({
name: z.string().min(1).max(200),
description: z.string().max(2000).optional(),
basePriceCents: z.number().int().positive(),
durationMinutes: z.number().int().positive(),
durationMinutes: z.number().int().positive().max(480),
active: z.boolean().default(true),
});