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

10 lines
230 B
TypeScript

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