chore: [app-router-migration 39] refactor ssr/ssg functions (#13336)

This commit is contained in:
DmytroHryshyn authored and GitHub committed 2024-01-19 15:58:37 -07:00
1 parent 5685d343b1
commit ff1aefe539
21 files changed
+168 -81

No files matched your search

@@ -0,0 +1,8 @@
import publicProcedure from "@calcom/trpc/server/procedures/publicProcedure";
import { getFeatureFlagMap } from "../utils";
export const map = publicProcedure.query(async ({ ctx }) => {
const { prisma } = ctx;
return getFeatureFlagMap(prisma);
});