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

5 lines
214 B
TypeScript

import { insightsRouter } from "@calcom/features/insights/server/trpc-router";
import { createNextApiHandler } from "@calcom/trpc/server/createNextApiHandler";
export default createNextApiHandler(insightsRouter);