feat: retry
This commit is contained in:
parent
3a5e0b1472
commit
5115d812e5
|
|
@ -119,7 +119,6 @@ export abstract class SocialAbstract {
|
||||||
return this.fetch(url, options, identifier, totalRetries + 1, ignoreConcurrency);
|
return this.fetch(url, options, identifier, totalRetries + 1, ignoreConcurrency);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
request.status === 401 &&
|
request.status === 401 &&
|
||||||
(handleError?.type === 'refresh-token' || !handleError)
|
(handleError?.type === 'refresh-token' || !handleError)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue