Remove rewriting iCalUID when rescheduling

refactor/generate-ics-event
Joe Au-Yeung 2023-10-30 16:32:49 -04:00
parent 6e81dc9c12
commit 006b9fc4e2
1 changed files with 0 additions and 6 deletions

View File

@ -2199,12 +2199,6 @@ async function handler(
`EventManager.create failure in some of the integrations ${organizerUser.username}`,
safeStringify({ error, results })
);
} else {
const calendarResult = results.find((result) => result.type.includes("_calendar"));
evt.iCalUID = Array.isArray(calendarResult?.updatedEvent)
? calendarResult?.updatedEvent[0]?.iCalUID
: calendarResult?.updatedEvent?.iCalUID || undefined;
}
const { metadata, videoCallUrl: _videoCallUrl } = getVideoCallDetails({