fix bug trimming

This commit is contained in:
Zynh0722 2024-02-09 02:13:38 -08:00
parent 4a71a20034
commit eb2ebb8883

View file

@ -198,12 +198,12 @@ async function get_games_by_puuid(puuid) {
},
});
games.push.apply(games, newGames);
if (newGames.length < 20) {
break;
}
games.push.apply(games, newGames);
start += COUNT;
}