Scheduling infrastructure for absolutely everyone.
fix: SAML postgres err (#12437)
Mehulede23572031a
diff --git a/packages/trpc/server/routers/publicViewer/ssoConnections.handler.ts b/packages/trpc/server/routers/publicViewer/ssoConnections.handler.tsindex 3acbd91053a..f9a170c6781 100644--- a/packages/trpc/server/routers/publicViewer/ssoConnections.handler.ts+++ b/packages/trpc/server/routers/publicViewer/ssoConnections.handler.ts@@ -1,12 +1,12 @@import jackson from "@calcom/features/ee/sso/lib/jackson";-import { samlProductID, samlTenantID } from "@calcom/features/ee/sso/lib/saml";+import { isSAMLLoginEnabled, samlProductID, samlTenantID } from "@calcom/features/ee/sso/lib/saml";import { HOSTED_CAL_FEATURES } from "@calcom/lib/constants";import { TRPCError } from "@trpc/server";export const handler = async () => {try {- if (HOSTED_CAL_FEATURES) {+ if (HOSTED_CAL_FEATURES || !isSAMLLoginEnabled) {return {connectionExists: null,};