Files
calendar/packages/trpc/server/routers/viewer/slots/getSchedule.handler.ts
T
Benny JooandGitHub 96468c4083 refactor: move @calcom/lib/di folder to @calcom/features (#24199)
* mv di folder

* update imports

* fix

* fix

* fix test
2025-10-02 08:12:06 -03:00

9 lines
360 B
TypeScript

import { getAvailableSlotsService } from "@calcom/features/di/containers/AvailableSlots";
import type { GetScheduleOptions } from "./types";
export const getScheduleHandler = async ({ ctx, input }: GetScheduleOptions) => {
const availableSlotsService = getAvailableSlotsService();
return await availableSlotsService.getAvailableSlots({ ctx, input });
};