Skip to content

Commit 4d3727d

Browse files
authored
Default fetchCrm to true for getRoutedUrl (calcom#24635)
1 parent f6641d5 commit 4d3727d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/features/routing-forms/lib/getRoutedUrl.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ export function hasEmbedPath(pathWithQuery: string) {
5353
return onlyPath.endsWith("/embed") || onlyPath.endsWith("/embed/");
5454
}
5555

56-
// We have fetchCrm as configurable temporarily to allow us to test the CRM logic in the APIV2. Soon after we would hardcode it to true
57-
const _getRoutedUrl = async (context: Pick<GetServerSidePropsContext, "query" | "req">, fetchCrm = false) => {
56+
const _getRoutedUrl = async (context: Pick<GetServerSidePropsContext, "query" | "req">, fetchCrm = true) => {
5857
const queryParsed = querySchema.safeParse(context.query);
5958
const isEmbed = hasEmbedPath(context.req.url || "");
6059
const pageProps = {

0 commit comments

Comments
 (0)