diff --git a/platform/core/src/utils/xhrRetryRequestHook.js b/platform/core/src/utils/xhrRetryRequestHook.js index 68d72b435..3e7f09da2 100644 --- a/platform/core/src/utils/xhrRetryRequestHook.js +++ b/platform/core/src/utils/xhrRetryRequestHook.js @@ -21,10 +21,6 @@ let retryOptions = { ...defaultRetryOptions }; * @returns {XMLHttpRequest} request instance optionally modified */ const xhrRetryRequestHook = (request, metadata) => { - if (!metadata) { - return request; - } - const { url, method } = metadata; function faultTolerantRequestSend(...args) {