When rescheduling, keep same iCalUID as original booking
parent
25b83c3978
commit
757c878200
|
@ -1099,7 +1099,7 @@ async function handler(
|
||||||
const calEventUserFieldsResponses =
|
const calEventUserFieldsResponses =
|
||||||
"calEventUserFieldsResponses" in reqBody ? reqBody.calEventUserFieldsResponses : null;
|
"calEventUserFieldsResponses" in reqBody ? reqBody.calEventUserFieldsResponses : null;
|
||||||
|
|
||||||
const iCalUID = `${uid}@cal.com`;
|
const iCalUID = rescheduleUid ? originalRescheduledBooking?.iCalUID : `${uid}@cal.com`;
|
||||||
|
|
||||||
let evt: CalendarEvent = {
|
let evt: CalendarEvent = {
|
||||||
bookerUrl: await getBookerUrl(organizerUser),
|
bookerUrl: await getBookerUrl(organizerUser),
|
||||||
|
|
Loading…
Reference in New Issue