feat(booking): allow empty customer email in booking forms and schemas

This commit is contained in:
Jose Selesan
2026-06-08 15:34:53 -03:00
parent b2f9a14b87
commit 49d2a13672
3 changed files with 4 additions and 3 deletions

View File

@@ -56,7 +56,8 @@ export const createAdminBookingSchema = z.object({
.max(30, 'El telefono no puede superar los 30 caracteres.'),
customerEmail: z
.string()
.email('El email ingresado no es valido.'),
.email('El email ingresado no es valido.')
.or(z.literal('')),
})
export const updateAdminBookingStatusSchema = z.object({