Skip to content

Scheduling infrastructure for absolutely everyone.

Missing fix for success page

Leo Giovanetti2a5a89fe50bf
diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx
index f4ea09b654f..c82e9ed3784 100644
--- a/apps/web/components/booking/pages/BookingPage.tsx
+++ b/apps/web/components/booking/pages/BookingPage.tsx
@@ -144,7 +144,7 @@ const BookingPage = ({
const recurringMutation = useMutation(createRecurringBooking, {
onSuccess: async (responseData = []) => {
- const { attendees = [], recurringEventId } = responseData[0] || {};
+ const { attendees = [], id, recurringEventId } = responseData[0] || {};
const location = (function humanReadableLocation(location) {
if (!location) {
return;
@@ -168,6 +168,7 @@ const BookingPage = ({
email: attendees[0].email,
location,
eventName: profile.eventName || "",
+ bookingId: id,
},
});
},