@aurigma/ng-backoffice-api-client 2.58.1 → 2.59.1

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.
@@ -1288,7 +1288,7 @@
1288
1288
  /**
1289
1289
  * Creates a new product and returns its description.
1290
1290
  * @param tenantId (optional) Tenant identifier.
1291
- * @param body (optional)
1291
+ * @param body (optional) Product creation parameters.
1292
1292
  * @return Success
1293
1293
  */
1294
1294
  ProductsManagementApiClient.prototype.createProduct = function (tenantId, body) {
@@ -5413,10 +5413,7 @@
5413
5413
  return ApiException;
5414
5414
  }(Error));
5415
5415
  function throwException(message, status, response, headers, result) {
5416
- if (result !== null && result !== undefined)
5417
- return rxjs.throwError(result);
5418
- else
5419
- return rxjs.throwError(new ApiException(message, status, response, headers, null));
5416
+ return rxjs.throwError(new ApiException(message, status, response, headers, result));
5420
5417
  }
5421
5418
  function blobToText(blob) {
5422
5419
  return new rxjs.Observable(function (observer) {