upgrade history count to 20 instead of 5.

This commit is contained in:
spleenftw authored and GitHub committed 2026-01-23 14:07:25 +01:00
1 parent f605239436
commit 9b9574ae58
1 file changed
+1 -1
+1 -1
View File
@@ -117,7 +117,7 @@ app.get('/api/riot/:gameName/:tagLine/:region', async (req, res) => {
const myRankData = await getRank(puuid, region); const myRankData = await getRank(puuid, region);
// 3. MATCH HISTORY // 3. MATCH HISTORY
const matUrl = `https://${cluster}.api.riotgames.com/lol/match/v5/matches/by-puuid/${puuid}/ids?start=0&count=5`; const matUrl = `https://${cluster}.api.riotgames.com/lol/match/v5/matches/by-puuid/${puuid}/ids?start=0&count=20`;
const matRes = await axios.get(matUrl, { headers: { "X-Riot-Token": RIOT_API_KEY } }); const matRes = await axios.get(matUrl, { headers: { "X-Riot-Token": RIOT_API_KEY } });
// 4. DETAILS DES MATCHS // 4. DETAILS DES MATCHS