mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 07:26:45 +00:00
fix: filter out deleted imports with replication
This commit is contained in:
@@ -207,7 +207,10 @@ export const fnSecretsV2FromImports = async ({
|
|||||||
);
|
);
|
||||||
if (!importedFolders.length) continue;
|
if (!importedFolders.length) continue;
|
||||||
|
|
||||||
const importedFolderIds = importedFolders.map((el) => el?.id) as string[];
|
const importedFolderIds = importedFolders.filter(Boolean).map((el) => el?.id) as string[];
|
||||||
|
|
||||||
|
if (!importedFolderIds.length) continue;
|
||||||
|
|
||||||
const importedFolderGroupBySourceImport = groupBy(importedFolders, (i) => `${i?.envId}-${i?.path}`);
|
const importedFolderGroupBySourceImport = groupBy(importedFolders, (i) => `${i?.envId}-${i?.path}`);
|
||||||
|
|
||||||
const importedSecrets = await secretDAL.find(
|
const importedSecrets = await secretDAL.find(
|
||||||
|
|||||||
Reference in New Issue
Block a user