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: {