Scheduling infrastructure for absolutely everyone.
fix: add uid in evt (#9066)
Udit Takkar79a4778c0208
diff --git a/packages/features/bookings/lib/handleNewBooking.ts b/packages/features/bookings/lib/handleNewBooking.tsindex 7b92d13c972..f09e7135b88 100644--- a/packages/features/bookings/lib/handleNewBooking.ts+++ b/packages/features/bookings/lib/handleNewBooking.ts@@ -1486,6 +1486,9 @@ async function handler(* so if you modify it in a inner function it will be modified in the outer function* deep cloning evt to avoid this*/+ if (!evt?.uid) {+ evt.uid = booking?.uid ?? null;+ }const copyEvent = cloneDeep(evt);copyEvent.uid = booking.uid;await sendScheduledSeatsEmails(copyEvent, invitee[0], newSeat, !!eventType.seatsShowAttendees);diff --git a/packages/lib/CalEventParser.ts b/packages/lib/CalEventParser.tsindex ff76988e9f5..fe1638afab4 100644--- a/packages/lib/CalEventParser.ts+++ b/packages/lib/CalEventParser.ts@@ -194,7 +194,7 @@ ${getAppsStatus(calEvent, t)}${// TODO: Only the original attendee can make changes to the event// Guests cannot- !calEvent.seatsPerTimeSlot && getManageLink(calEvent, t)+ calEvent.seatsPerTimeSlot ? "" : getManageLink(calEvent, t)}${calEvent.paymentInfo