diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index 3fe7739025..425f10f7a4 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -1,4 +1,4 @@ -import { BookingStatus, WorkflowActions } from "@prisma/client"; +import { BookingStatus } from "@prisma/client"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible"; import classNames from "classnames"; import { createEvent } from "ics"; diff --git a/packages/trpc/server/routers/viewer/eventTypes.ts b/packages/trpc/server/routers/viewer/eventTypes.ts index 67594330d2..57660bb6f8 100644 --- a/packages/trpc/server/routers/viewer/eventTypes.ts +++ b/packages/trpc/server/routers/viewer/eventTypes.ts @@ -538,6 +538,7 @@ export const eventTypesRouter = router({ const data: Prisma.EventTypeUpdateInput = { ...rest, + bookingFields, metadata: rest.metadata === null ? Prisma.DbNull : rest.metadata, }; data.locations = locations ?? undefined; @@ -825,7 +826,6 @@ export const eventTypesRouter = router({ }); function ensureUniqueBookingFields(fields: z.infer["bookingFields"]) { - console.log("Ensure unique booking fields", fields); if (!fields) { return; }