Remove 3rd param from getBooking

pull/7920/head^2
Alex van Andel 2023-03-27 13:32:35 +02:00
parent 31ee689672
commit cad97f1779
1 changed files with 1 additions and 5 deletions

View File

@ -283,11 +283,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
: eventType.recurringEvent.count)) ||
null;
const currentSlotBooking = await getBooking(
prisma,
bookingUidWithSeats || "",
eventTypeObject.bookingFields
);
const currentSlotBooking = await getBooking(prisma, bookingUidWithSeats || "");
return {
props: {