From c7a28b722ef4855245c390ee8359f975f981ffe5 Mon Sep 17 00:00:00 2001 From: Marc Schipperheyn Date: Mon, 22 Apr 2024 08:24:12 -0300 Subject: [PATCH] fix(core): Fix importer asset channel handling (#2801) --- packages/core/src/data-import/providers/populator/populator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/data-import/providers/populator/populator.ts b/packages/core/src/data-import/providers/populator/populator.ts index 4982ec9889..e389cec936 100644 --- a/packages/core/src/data-import/providers/populator/populator.ts +++ b/packages/core/src/data-import/providers/populator/populator.ts @@ -125,7 +125,7 @@ export class Populator { for (const collectionDef of data.collections) { const parent = collectionDef.parentName && collectionMap.get(collectionDef.parentName); const parentId = parent ? parent.id.toString() : undefined; - const { assets } = await this.assetImporter.getAssets(collectionDef.assetPaths || []); + const { assets } = await this.assetImporter.getAssets(collectionDef.assetPaths || [], ctx); let filters: ConfigurableOperationInput[] = []; try { filters = (collectionDef.filters || []).map(filter =>