mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: recursion of JaxRequest
This commit is contained in:
parent
3b5ed35ea8
commit
643de98fa4
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class JaxRequest {
|
||||||
console.log('====================================')
|
console.log('====================================')
|
||||||
|
|
||||||
if (this.retries > 0) {
|
if (this.retries > 0) {
|
||||||
setTimeout(
|
return setTimeout(
|
||||||
() => this.execute(),
|
() => this.execute(),
|
||||||
this.config.requestOptions.delayBeforeRetry,
|
this.config.requestOptions.delayBeforeRetry,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue