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 =>