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

5 lines
230 B
TypeScript

import { featureFlagRouter } from "@calcom/features/flags/server/router";
import { createNextApiHandler } from "@calcom/trpc/server/createNextApiHandler";
export default createNextApiHandler(featureFlagRouter, true, "features");