Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update app-connection-service.ts
varonix3d63288a04d8
diff --git a/backend/src/services/app-connection/app-connection-service.ts b/backend/src/services/app-connection/app-connection-service.tsindex e163b8636b..386bf0c57b 100644--- a/backend/src/services/app-connection/app-connection-service.ts+++ b/backend/src/services/app-connection/app-connection-service.ts@@ -563,9 +563,7 @@ export const appConnectionServiceFactory = ({PROJECT_TYPES_ENFORCING_APP_CONNECTION_TYPES.includes(project.type as ProjectType) &&!isAppConnectionAllowedInProject(app, project.type as ProjectType)) {- const supported = listAppConnectionOptions(actor.orgId, project.type as ProjectType).map(- (option) => option.name- );+ const supported = listAppConnectionOptions(project.type as ProjectType).map((option) => option.name);throw new BadRequestError({message: `${APP_CONNECTION_NAME_MAP[app]} Connections can't be used in this project. It supports: ${supported.join(", ")}.`});