@putkoff/abstract-utilities 0.1.185 → 0.1.187

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/esm/index.js CHANGED
@@ -1505,7 +1505,7 @@ function fetchIt(endpoint_1) {
1505
1505
 
1506
1506
  function secureFetchIt(endpoint_1) {
1507
1507
  return __awaiter(this, arguments, void 0, function* (endpoint, body = null, method = null, customHeaders = null, blob = false, configUrl = false, withCredentials = true, returnJson = true, returnReult = true) {
1508
- return yield fetchIt(endpoint, body, method, customHeaders, blob, configUrl, withCredentials, returnJson, returnReult);
1508
+ return yield fetchIt(yield getEndpoint(endpoint), body, method, customHeaders, blob, configUrl, withCredentials, returnJson, returnReult);
1509
1509
  });
1510
1510
  }
1511
1511
  // Performs PATCH request