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

5 lines
209 B
TypeScript

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