@aurigma/axios-storefront-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.
@@ -6022,10 +6022,7 @@ export class ApiException extends Error {
6022
6022
  }
6023
6023
  }
6024
6024
  function throwException(message, status, response, headers, result) {
6025
- if (result !== null && result !== undefined)
6026
- throw result;
6027
- else
6028
- throw new ApiException(message, status, response, headers, null);
6025
+ throw new ApiException(message, status, response, headers, result);
6029
6026
  }
6030
6027
  function isAxiosError(obj) {
6031
6028
  return obj && obj.isAxiosError === true;