write-icaluid-to-booking
Joe Au-Yeung 2023-10-30 10:51:05 -04:00
parent 833d3a25bf
commit 674c0e2b54
1 changed files with 0 additions and 3 deletions

View File

@ -1107,8 +1107,6 @@ async function handler(
? 1
: 0;
console.log("🚀 ~ file: handleNewBooking.ts:1105 ~ iCalSequence:", iCalSequence);
let evt: CalendarEvent = {
bookerUrl: await getBookerUrl(organizerUser),
type: eventType.title,
@ -2203,7 +2201,6 @@ async function handler(
);
} else {
const calendarResult = results.find((result) => result.type.includes("_calendar"));
console.log("🚀 ~ file: handleNewBooking.ts:2195 ~ calendarResult:", calendarResult);
evt.iCalUID = Array.isArray(calendarResult?.updatedEvent)
? calendarResult?.updatedEvent[0]?.iCalUID