diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx index 221db1365a..537e12f58f 100644 --- a/apps/web/components/booking/pages/BookingPage.tsx +++ b/apps/web/components/booking/pages/BookingPage.tsx @@ -287,6 +287,7 @@ const BookingPage = ({ return router.push({ pathname: `/booking/${uid}`, query: { + isSuccessBookingPage: true, allRemainingBookings: true, email: bookingForm.getValues("responses.email"), eventTypeSlug: eventType.slug, diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index 7a04dad9ba..e39f2475a0 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -180,7 +180,7 @@ const querySchema = z.object({ cancel: stringToBoolean, changes: stringToBoolean, reschedule: stringToBoolean, - isSuccessBookingPage: z.string().optional(), + isSuccessBookingPage: stringToBoolean, formerTime: z.string().optional(), email: z.string().optional(), seatReferenceUid: z.string().optional(),