getLeaguePositionsForSummoner is wrong url
Closed this issue · 0 comments
santutu commented
LeagueApi.php
1559 lines
To change positions -> entries
before
$resultPromise = $this->setEndpoint("/lol/league/" . self::RESOURCE_LEAGUE_VERSION . "/positions/by-summoner/{$encrypted_summoner_id}")
->setResource(self::RESOURCE_LEAGUE, "/positions/by-summoner/%s")
->makeCall();
after
$resultPromise = $this->setEndpoint("/lol/league/" . self::RESOURCE_LEAGUE_VERSION . "/entries/by-summoner/{$encrypted_summoner_id}")
->setResource(self::RESOURCE_LEAGUE, "/entries/by-summoner/%s")
->makeCall();
it works