cardus 0.0.9 → 0.0.10
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
|
@@ -104,7 +104,7 @@ class IntegrationManager {
|
|
|
104
104
|
const parsedOrder = modificarOrdenOriginal({ originalOrder: order });
|
|
105
105
|
const duplicatedTempShipment = yield integrationsService.checkDuplicateTempShipment(parsedOrder.codigoEnvioExterno, idUsuario);
|
|
106
106
|
if (duplicatedTempShipment)
|
|
107
|
-
|
|
107
|
+
throw new Error('Envio Duplicado');
|
|
108
108
|
return this.insertOrder({
|
|
109
109
|
order: parsedOrder,
|
|
110
110
|
agencyId,
|
package/index.ts
CHANGED