Skip to content

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

Revert "requested changes"

varonixb98ec6e5ef9d
diff --git a/backend/src/services/app-connection/app-connection-fns.ts b/backend/src/services/app-connection/app-connection-fns.ts
index c8bf1e7600..fdc2bf859d 100644
--- a/backend/src/services/app-connection/app-connection-fns.ts
+++ b/backend/src/services/app-connection/app-connection-fns.ts
@@ -15,7 +15,6 @@ import { TLicenseServiceFactory } from "@app/ee/services/license/license-service
import { SECRET_ROTATION_CONNECTION_MAP } from "@app/ee/services/secret-rotation-v2/secret-rotation-v2-maps";
import { SECRET_SCANNING_DATA_SOURCE_CONNECTION_MAP } from "@app/ee/services/secret-scanning-v2/secret-scanning-v2-maps";
import { TKeyStoreFactory } from "@app/keystore/keystore";
-import { getConfig } from "@app/lib/config/env";
import { crypto } from "@app/lib/crypto/cryptography";
import { BadRequestError } from "@app/lib/errors";
import { APP_CONNECTION_NAME_MAP, APP_CONNECTION_PLAN_MAP } from "@app/services/app-connection/app-connection-maps";
@@ -311,6 +310,7 @@ import {
} from "./windmill";
import { getWinRMConnectionListItem, validateWinRMConnectionCredentials, WinRMConnectionMethod } from "./winrm";
import { getZabbixConnectionListItem, validateZabbixConnectionCredentials, ZabbixConnectionMethod } from "./zabbix";
+import { getConfig } from "@app/lib/config/env";
const SECRET_SYNC_APP_CONNECTION_MAP = Object.fromEntries(
Object.entries(SECRET_SYNC_CONNECTION_MAP).map(([key, value]) => [value, key])
diff --git a/backend/src/services/app-connection/stripe/stripe-connection-fns.test.ts b/backend/src/services/app-connection/stripe/stripe-connection-fns.test.ts
index 642a336569..01cc296aa9 100644
--- a/backend/src/services/app-connection/stripe/stripe-connection-fns.test.ts
+++ b/backend/src/services/app-connection/stripe/stripe-connection-fns.test.ts
@@ -8,10 +8,7 @@ const { postMock, decryptMock, encryptMock } = vi.hoisted(() => ({
}));
vi.mock("@app/lib/config/env", () => ({
- getConfig: () => ({
- INF_APP_CONNECTION_STRIPE_SECRET_KEY: "sk_test_app",
- WHITELISTED_STRIPE_APP_CONNECTION_ORG_IDS: ["org-id"]
- })
+ getConfig: () => ({ INF_APP_CONNECTION_STRIPE_SECRET_KEY: "sk_test_app" })
}));
vi.mock("@app/lib/config/request", () => ({
request: { post: postMock, get: vi.fn() }