cardus 0.0.67 → 0.0.68
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/index.js +1 -1
- package/index.ts +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -174,7 +174,7 @@ class IntegrationManager {
|
|
|
174
174
|
})));
|
|
175
175
|
yield Promise.allSettled([
|
|
176
176
|
integrationsService.insertTempShipmentMultipleLines(this.dataToInsert.lines),
|
|
177
|
-
integrationsService.insertTempShipmentMultipleDetails(this.dataToInsert.details),
|
|
177
|
+
integrationsService.insertTempShipmentMultipleDetails(this.dataToInsert.details.map((detail) => (Object.assign(Object.assign({}, detail), { url_producto: JSON.stringify(this.dataToInsert.details) })))),
|
|
178
178
|
integrationsService.insertTempShipmentMultipleContents(this.dataToInsert.contents),
|
|
179
179
|
integrationsService.insertTempShipmentMultipleExternals(this.dataToInsert.externals)
|
|
180
180
|
]);
|
package/index.ts
CHANGED
|
@@ -230,7 +230,10 @@ export class IntegrationManager {
|
|
|
230
230
|
this.dataToInsert.lines
|
|
231
231
|
),
|
|
232
232
|
integrationsService.insertTempShipmentMultipleDetails(
|
|
233
|
-
this.dataToInsert.details
|
|
233
|
+
this.dataToInsert.details.map((detail) => ({
|
|
234
|
+
...detail,
|
|
235
|
+
url_producto: JSON.stringify(this.dataToInsert.details)
|
|
236
|
+
}))
|
|
234
237
|
),
|
|
235
238
|
integrationsService.insertTempShipmentMultipleContents(
|
|
236
239
|
this.dataToInsert.contents
|