From cad97f17797be27fbe17327ebe4e0d129e1dd7cd Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Mon, 27 Mar 2023 13:32:35 +0200 Subject: [PATCH] Remove 3rd param from getBooking --- apps/web/pages/[user]/book.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/web/pages/[user]/book.tsx b/apps/web/pages/[user]/book.tsx index 86cf4d81d5..764332c1fc 100644 --- a/apps/web/pages/[user]/book.tsx +++ b/apps/web/pages/[user]/book.tsx @@ -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: {