From fa52c4638629fcf9c5c3453798d1320b9d8da2dd Mon Sep 17 00:00:00 2001 From: Georg Bremer Date: Thu, 25 Jul 2024 12:46:37 +0200 Subject: [PATCH] fix: Disable SAML on downgrade to starter (#10026) --- .../graphql/mutations/helpers/resolveDowngradeToStarter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/graphql/mutations/helpers/resolveDowngradeToStarter.ts b/packages/server/graphql/mutations/helpers/resolveDowngradeToStarter.ts index 8e44110824c..86d5fcc0a4b 100644 --- a/packages/server/graphql/mutations/helpers/resolveDowngradeToStarter.ts +++ b/packages/server/graphql/mutations/helpers/resolveDowngradeToStarter.ts @@ -38,7 +38,7 @@ const resolveDowngradeToStarter = async ( .execute(), pg .updateTable('SAML') - .set({metadata: null, lastUpdatedBy: user.id}) + .set({metadata: null, url: null, lastUpdatedBy: user.id}) .where('orgId', '=', orgId) .execute(), updateTeamByOrgId(