Remove 3rd param from getBooking

This commit is contained in:
Alex van Andel committed 2023-03-27 13:32:35 +02:00
1 parent 31ee689672
commit cad97f1779
1 file changed
+1 -5
+1 -5
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: {