cal.pub0.org/apps/web/pages/api/trpc/webhook/[trpc].ts

5 lines
218 B
TypeScript

import { createNextApiHandler } from "@calcom/trpc/server/createNextApiHandler";
import { webhookRouter } from "@calcom/trpc/server/routers/viewer/webhook/_router";
export default createNextApiHandler(webhookRouter);