Comparing version 3.0.31 to 3.0.32
@@ -117,3 +117,3 @@ (function() { | ||
return function() { | ||
return _this.adaptSkus(skus); | ||
return _this.adaptSkus(skus, _this.requests.stocks); | ||
}; | ||
@@ -147,3 +147,3 @@ })(this)).then((function(_this) { | ||
return function() { | ||
return _this.adaptSkus(skus); | ||
return _this.adaptSkus(skus, _this.requests.stocksCalidad); | ||
}; | ||
@@ -445,3 +445,3 @@ })(this)).then((function(_this) { | ||
AlmexApi.prototype.adaptSkus = function(skusToRetrieve) { | ||
AlmexApi.prototype.adaptSkus = function(skusToRetrieve, request) { | ||
var params; | ||
@@ -453,3 +453,3 @@ params = { | ||
}; | ||
return new XmlBuilder(this.requests.stocks.xml).buildWith(params); | ||
return new XmlBuilder(request.xml).buildWith(params); | ||
}; | ||
@@ -456,0 +456,0 @@ |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "3.0.31", | ||
"version": "3.0.32", | ||
"main": "build/almexApi.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
69409