cardus 0.0.91 → 0.0.92
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -153,7 +153,7 @@ class IntegrationManager {
|
|
|
153
153
|
id_usuario: idUsuario,
|
|
154
154
|
id_integracion: this.integrationType
|
|
155
155
|
});
|
|
156
|
-
const shouldFindWarehouseSkus = !!userIntegrationConfiguration.sku_almacen;
|
|
156
|
+
const shouldFindWarehouseSkus = !!(userIntegrationConfiguration === null || userIntegrationConfiguration === void 0 ? void 0 : userIntegrationConfiguration.sku_almacen);
|
|
157
157
|
yield this.insertQuantityRelatedLines({
|
|
158
158
|
orders: successfullShipments,
|
|
159
159
|
idUsuario,
|
package/index.ts
CHANGED
|
@@ -205,7 +205,7 @@ export class IntegrationManager {
|
|
|
205
205
|
id_usuario: idUsuario,
|
|
206
206
|
id_integracion: this.integrationType
|
|
207
207
|
});
|
|
208
|
-
const shouldFindWarehouseSkus = !!userIntegrationConfiguration
|
|
208
|
+
const shouldFindWarehouseSkus = !!userIntegrationConfiguration?.sku_almacen;
|
|
209
209
|
|
|
210
210
|
await this.insertQuantityRelatedLines({
|
|
211
211
|
orders: successfullShipments,
|