Skip to content

Commit a35efd6

Browse files
authored
fix validation rule (#103)
1 parent 0796859 commit a35efd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/types/roomRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const roomRequestSchema = roomRequestBaseSchema
177177
// Recurring event fields
178178
isRecurring: z.boolean().default(false),
179179
recurrencePattern: z.enum(["weekly", "biweekly", "monthly"]).optional(),
180-
recurrenceEndDate: z.date().optional(),
180+
recurrenceEndDate: z.coerce.date().optional(),
181181
// Setup time fields
182182
setupNeeded: z.boolean().default(false),
183183
setupMinutesBefore: z.number().min(5).max(60).optional(),

0 commit comments

Comments
 (0)