cardus 0.0.80 → 0.0.81

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 CHANGED
@@ -119,7 +119,7 @@ class IntegrationManager {
119
119
  });
120
120
  let direccionSalida = null;
121
121
  if (parsedOrder.direccionSalidaId) {
122
- direccionSalida = yield addressesService.getAddress(addressId, idUsuario);
122
+ direccionSalida = yield addressesService.getAddress(parsedOrder.direccionSalidaId, idUsuario);
123
123
  }
124
124
  const idEnvioTemporal = yield this.insertTempShipment({
125
125
  order: parsedOrder,
package/index.ts CHANGED
@@ -155,7 +155,7 @@ export class IntegrationManager {
155
155
  let direccionSalida = null;
156
156
  if (parsedOrder.direccionSalidaId) {
157
157
  direccionSalida = await addressesService.getAddress(
158
- addressId,
158
+ parsedOrder.direccionSalidaId,
159
159
  idUsuario
160
160
  );
161
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",