Expose retryable option
This commit is contained in:
1 parent
98fcabfcb5
commit
d575e36879
1 file changed
+3
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user