fix bug trimming
This commit is contained in:
parent
4a71a20034
commit
eb2ebb8883
1 changed files with 2 additions and 2 deletions
|
@ -198,12 +198,12 @@ async function get_games_by_puuid(puuid) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
games.push.apply(games, newGames);
|
||||||
|
|
||||||
if (newGames.length < 20) {
|
if (newGames.length < 20) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
games.push.apply(games, newGames);
|
|
||||||
|
|
||||||
start += COUNT;
|
start += COUNT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue