fix redirect for recurring events (#7821)

Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk>
pull/7888/head
darshan 2023-03-22 20:52:40 +05:30 committed by GitHub
parent 4e2473531f
commit d1ca7b4bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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(),