fix bug trimming

main
Zynh0722 2024-02-09 02:13:38 -08:00
parent 4a71a20034
commit eb2ebb8883
1 changed files with 2 additions and 2 deletions

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;
}