@punks/backend-entity-manager 0.0.159 → 0.0.160

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -699,9 +699,7 @@ class EntitiesImportCommand {
699
699
  fileName: input.file.fileName,
700
700
  });
701
701
  const importEntities = await this.parseImportFile(input.file.content, input.format);
702
- await this.services
703
- .resolveSerializer()
704
- .import(importEntities, input.payload);
702
+ await this.services.resolveSerializer().import(importEntities.map((x) => x.item), input.payload);
705
703
  return {
706
704
  statistics: {
707
705
  importedCount: importEntities.length,