diff --git a/apps/lol_api/lib/api/match_api.ex b/apps/lol_api/lib/api/match_api.ex index 25500bd..0a3323c 100644 --- a/apps/lol_api/lib/api/match_api.ex +++ b/apps/lol_api/lib/api/match_api.ex @@ -1,7 +1,7 @@ defmodule LoLAPI.MatchApi do require Logger @match_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/%{matchid}" - @puuid_matches_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/by-puuid/%{puuid}/ids" + @puuid_matches_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/by-puuid/%{puuid}/ids?queue=420" @doc """ Get match by id diff --git a/apps/scrapper/lib/scrapper/processor/match_processor.ex b/apps/scrapper/lib/scrapper/processor/match_processor.ex index 36782d3..23cada7 100644 --- a/apps/scrapper/lib/scrapper/processor/match_processor.ex +++ b/apps/scrapper/lib/scrapper/processor/match_processor.ex @@ -58,7 +58,7 @@ defmodule Scrapper.Processor.MatchProcessor do "#{decoded_match.info.gameVersion}" ) - queue_id -> + _queue_id -> Storage.MatchStorage.S3MatchStorage.store_match(match_id, raw_match, "matches") end