mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
9 lines
360 B
TypeScript
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 });
|
|
};
|