Closed Nebs987 closed 8 years ago
Resolved by:
Api/Region.php line 48
protected $defaultStaticDomain = 'https://global.api.pvp.net/api/lol/static-data/';
// change to:
protected $defaultStaticDomain = 'https://global.api.pvp.net/api/lol/static-data/%s/';
Api/Region.php line 94
return $this->defaultStaticDomain;
// change to:
return sprintf($this->defaultStaticDomain, $this->getRegion());
In the Region.php file the getStaticDataDomain function is returning the wrong url. It is not adding the region to the end of the url. For example the url that is returned is https://global.api.pvp.net/api/lol/static-data/ but it should be https://global.api.pvp.net/api/lol/static-data/na/ for na.