Skip to content

Scheduling infrastructure for absolutely everyone.

fix: scheduleId to work on event type host assignment via patch api v1 (#19546)

Ash Davis340f15fea5d0
diff --git a/apps/api/v1/lib/validations/event-type.ts b/apps/api/v1/lib/validations/event-type.ts
index f475a18b843..08ab2790de3 100644
--- a/apps/api/v1/lib/validations/event-type.ts
+++ b/apps/api/v1/lib/validations/event-type.ts
@@ -22,6 +22,7 @@ const recurringEventInputSchema = z.object({
const hostSchema = _HostModel.pick({
isFixed: true,
userId: true,
+ scheduleId: true,
});
export const childrenSchema = z.object({