Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

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.ts
index 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(", ")}.`
});