From 41a3ca149db5d60ca12523fb1a7c062d999e2a2e Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Thu, 27 Feb 2025 01:50:42 +0900 Subject: [PATCH] remove on prem fet for gateway --- backend/src/ee/services/gateway/gateway-service.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/src/ee/services/gateway/gateway-service.ts b/backend/src/ee/services/gateway/gateway-service.ts index fdfaa8ab1..75ef1f0f2 100644 --- a/backend/src/ee/services/gateway/gateway-service.ts +++ b/backend/src/ee/services/gateway/gateway-service.ts @@ -61,12 +61,12 @@ export const gatewayServiceFactory = ({ projectGatewayDAL }: TGatewayServiceFactoryDep) => { const $validateOrgAccessToGateway = async (orgId: string, actorId: string, actorAuthMethod: ActorAuthMethod) => { - if (!licenseService.onPremFeatures.gateway) { - throw new BadRequestError({ - message: - "Gateway handshake failed due to instance plan restrictions. Please upgrade your instance to Infisical's Enterprise plan." - }); - } + // if (!licenseService.onPremFeatures.gateway) { + // throw new BadRequestError({ + // message: + // "Gateway handshake failed due to instance plan restrictions. Please upgrade your instance to Infisical's Enterprise plan." + // }); + // } const orgLicensePlan = await licenseService.getPlan(orgId); if (!orgLicensePlan.gateway) { throw new BadRequestError({