@veloceapps/api 3.1.8 → 3.1.9
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.
@@ -1948,6 +1948,14 @@
|
|
1948
1948
|
url: this.serviceUrl + "/" + productId + "/image",
|
1949
1949
|
});
|
1950
1950
|
};
|
1951
|
+
ProductApiService.prototype.fetchImage$ = function (productId) {
|
1952
|
+
return this.baseHttpService.api({
|
1953
|
+
url: this.getImageUrl(productId),
|
1954
|
+
method: 'get',
|
1955
|
+
responseType: 'blob',
|
1956
|
+
errorHandler: rxjs.noop,
|
1957
|
+
});
|
1958
|
+
};
|
1951
1959
|
ProductApiService.prototype.getImageUrl = function (productId) {
|
1952
1960
|
return this.serviceUrl + "/" + productId + "/image";
|
1953
1961
|
};
|