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

5 lines
209 B
TypeScript

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