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:
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 };
|
||||
}
|
||||
Reference in new issue
Block a user