Skip to content

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

Update external-migration-fns.ts

Daniel Hougaard5d5da97b45d4
diff --git a/backend/src/services/external-migration/external-migration-fns.ts b/backend/src/services/external-migration/external-migration-fns.ts
index 379c3433a0..6d996022a5 100644
--- a/backend/src/services/external-migration/external-migration-fns.ts
+++ b/backend/src/services/external-migration/external-migration-fns.ts
@@ -89,13 +89,6 @@ export const parseEnvKeyDataFn = async (decryptedJson: string): Promise<Infisica
});
}
- // make sure that all the projectIds in the enviroments are present in the projects
- for (const env of infisicalImportData.environments) {
- if (!infisicalImportData.projects.find((project) => project.id === env.projectId)) {
- infisicalImportData.projects.push({ name: "Unknown", id: env.projectId });
- }
- }
-
// secrets
for (const env of Object.keys(parsedJson.envs)) {
if (!env.includes("|")) {