cal.pub0.org/pages/api/webhooks/index.ts

11 lines
234 B
TypeScript
Raw Normal View History

2022-10-19 18:26:12 +00:00
import { defaultHandler } from "@calcom/lib/server";
2022-11-25 13:56:58 +00:00
import { withMiddleware } from "~/lib/helpers/withMiddleware";
2022-10-19 18:26:12 +00:00
2022-10-21 19:30:09 +00:00
export default withMiddleware()(
2022-10-19 18:26:12 +00:00
defaultHandler({
GET: import("./_get"),
POST: import("./_post"),
})
);