diff --git a/packages/app-store/exchange2013calendar/lib/CalendarService.ts b/packages/app-store/exchange2013calendar/lib/CalendarService.ts index 35adbf5558..896c494de9 100644 --- a/packages/app-store/exchange2013calendar/lib/CalendarService.ts +++ b/packages/app-store/exchange2013calendar/lib/CalendarService.ts @@ -90,6 +90,7 @@ export default class ExchangeCalendarService implements Calendar { } } + // eslint-disable-next-line @typescript-eslint/no-explicit-any async updateEvent(uid: string, event: CalendarEvent): Promise { try { const appointment = await Appointment.Bind( diff --git a/packages/trpc/server/routers/viewer/bookings.tsx b/packages/trpc/server/routers/viewer/bookings.tsx index 65ba0de870..17dcc93d5f 100644 --- a/packages/trpc/server/routers/viewer/bookings.tsx +++ b/packages/trpc/server/routers/viewer/bookings.tsx @@ -1,6 +1,7 @@ import { SchedulingType } from "@prisma/client"; import { z } from "zod"; +import { LocationType } from "@calcom/app-store/locations"; import EventManager from "@calcom/core/EventManager"; import dayjs from "@calcom/dayjs"; import { sendLocationChangeEmails } from "@calcom/emails"; @@ -65,7 +66,7 @@ export const bookingsRouter = createProtectedRouter() }) .mutation("editLocation", { input: commonBookingSchema.extend({ - newLocation: z.string(), + newLocation: z.string().transform((val) => val || LocationType.Daily), }), async resolve({ ctx, input }) { const { bookingId, newLocation: location } = input;