fix: SAML postgres err (#12437)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user