feat: add name and email url params when rescheduling past bookings (#18318)

* feat: add name and email as url params when rescheduling past bookings

* remove logs

* pass booking seat name and email as url params
This commit is contained in:
Kartik Saini authored and GitHub committed 2024-12-26 19:23:28 +00:00
1 parent cd7b93a51e
commit 6b5e144042
3 files changed
+26 -13

No files matched your search

@@ -13,8 +13,9 @@ export async function maybeGetBookingUidFromSeat(prisma: PrismaClient, uid: stri
uid: true,
},
},
data: true,
},
});
if (bookingSeat) return { uid: bookingSeat.booking.uid, seatReferenceUid: uid };
if (bookingSeat) return { uid: bookingSeat.booking.uid, seatReferenceUid: uid, bookingSeat };
return { uid };
}