diff --git a/src/services/attendee/attendee-schema.ts b/src/services/attendee/attendee-schema.ts index e0069dd..2f4a201 100644 --- a/src/services/attendee/attendee-schema.ts +++ b/src/services/attendee/attendee-schema.ts @@ -95,5 +95,7 @@ export const PartialAttendeeValidator = AttendeeValidator.partial(); export const AttendeeFilterValidator = z.object({ in: PartialAttendeeValidator, - out: z.map(PartialAttendeeValidator.keyof(), z.number().min(0).max(1)), + out: z.array( + z.record(PartialAttendeeValidator.keyof(), z.number().min(0).max(1)) + ), });