diff --git a/client/public/riot.txt b/client/public/riot.txt deleted file mode 100644 index 379c0bf..0000000 --- a/client/public/riot.txt +++ /dev/null @@ -1 +0,0 @@ -a045114f-3d93-45ad-a4c2-27fa82d7eadb \ No newline at end of file diff --git a/server/server.js b/server/server.js index a8252df..353cd1f 100644 --- a/server/server.js +++ b/server/server.js @@ -95,7 +95,7 @@ const getAccountInfos = function (res) { const getRanked = function (res) { request(`https://${data.region}.api.riotgames.com/lol/league/v4/entries/by-summoner/${data.summonerID}?api_key=${data.key}`, function (error, response, body) { if (!error && response.statusCode == 200) { - let JSONBody = JSON.parse(body).filter(e => e.queueType !== 'RANKED_TFT'); + let JSONBody = JSON.parse(body).filter(e => e.queueType !== 'RANKED_TFT' && e.queueType !== 'RANKED_FLEX_TT'); if (JSONBody.length > 0) { data.finalJSON.push(...JSONBody); if (JSONBody.length === 1) data.finalJSON.push(null);