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

5 lines
242 B
TypeScript

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