diff --git a/platform/core/src/utils/xhrRetryRequestHook.js b/platform/core/src/utils/xhrRetryRequestHook.js index 487b0439c..2b492971d 100644 --- a/platform/core/src/utils/xhrRetryRequestHook.js +++ b/platform/core/src/utils/xhrRetryRequestHook.js @@ -94,6 +94,9 @@ export const getXHRRetryRequestHook = (options = {}) => { if ('randomize' in options) { retryOptions.randomize = options.randomize; } + if ('retryableStatusCodes' in options) { + retryOptions.retryableStatusCodes = options.retryableStatusCodes; + } return xhrRetryRequestHook; };