cal.pub0.org/pages/api/teams/[teamId]/availability/index.ts

10 lines
228 B
TypeScript

import { defaultHandler } from "@calcom/lib/server";
import { withMiddleware } from "~/lib/helpers/withMiddleware";
export default withMiddleware()(
defaultHandler({
GET: import("~/pages/api/availability/_get"),
})
);