@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/cjs/index.js +1 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -707,9 +707,7 @@ class EntitiesImportCommand {
|
|
|
707
707
|
fileName: input.file.fileName,
|
|
708
708
|
});
|
|
709
709
|
const importEntities = await this.parseImportFile(input.file.content, input.format);
|
|
710
|
-
await this.services
|
|
711
|
-
.resolveSerializer()
|
|
712
|
-
.import(importEntities, input.payload);
|
|
710
|
+
await this.services.resolveSerializer().import(importEntities.map((x) => x.item), input.payload);
|
|
713
711
|
return {
|
|
714
712
|
statistics: {
|
|
715
713
|
importedCount: importEntities.length,
|