Skip to content

Scheduling infrastructure for absolutely everyone.

Recurring config missing from event (#3182)

Leo Giovanettidf2c3c42bf4f
diff --git a/apps/web/pages/api/book/event.ts b/apps/web/pages/api/book/event.ts
index d6051935b57..6bd1b1c7a30 100644
--- a/apps/web/pages/api/book/event.ts
+++ b/apps/web/pages/api/book/event.ts
@@ -417,6 +417,7 @@ async function handler(req: NextApiRequest) {
// Overriding the recurring event configuration count to be the actual number of events booked for
// the recurring event (equal or less than recurring event configuration count)
eventType.recurringEvent = Object.assign({}, eventType.recurringEvent, { count: recurringCount });
+ evt.recurringEvent = eventType.recurringEvent;
}
// Initialize EventManager with credentials