Skip to content

Commit

Permalink
Remove 3rd param from getBooking
Browse files Browse the repository at this point in the history
  • Loading branch information
emrysal committed Mar 27, 2023
1 parent 31ee689 commit cad97f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/web/pages/[user]/book.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit cad97f1

Please sign in to comment.