Skip to content

Scheduling infrastructure for absolutely everyone.

Remove 3rd param from getBooking

Alex van Andelcad97f17797b
diff --git a/apps/web/pages/[user]/book.tsx b/apps/web/pages/[user]/book.tsx
index 86cf4d81d58..764332c1fc8 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: {