diff --git a/packages/core/CalendarManager.ts b/packages/core/CalendarManager.ts index 69eae44131..241c8239d0 100644 --- a/packages/core/CalendarManager.ts +++ b/packages/core/CalendarManager.ts @@ -77,9 +77,11 @@ export const getConnectedCalendars = async ( }, }; } - if (destinationCalendar) { + // HACK https://github.com/calcom/cal.com/pull/7644/files#r1131508414 + if (destinationCalendar && !Object.isFrozen(destinationCalendar)) { destinationCalendar.primaryEmail = primary.email; destinationCalendar.integrationTitle = integration.title; + destinationCalendar = Object.freeze(destinationCalendar); } return {