fix: SAML postgres err (#12437)

This commit is contained in:
Mehul
2024-01-22 15:41:43 +00:00
committed by GitHub
parent 559ab4192f
commit ede2357203
@@ -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,
};