From 9b9574ae586f0fd1ef72497dde1b2b1b566fba4f Mon Sep 17 00:00:00 2001 From: spleenftw <57947900+Spleenftw@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:07:25 +0100 Subject: [PATCH] upgrade history count to 20 instead of 5. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 09083d7..5c37c8c 100644 --- a/server.js +++ b/server.js @@ -117,7 +117,7 @@ app.get('/api/riot/:gameName/:tagLine/:region', async (req, res) => { const myRankData = await getRank(puuid, region); // 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 } }); // 4. DETAILS DES MATCHS