We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a91254 commit 873ca7eCopy full SHA for 873ca7e
app/Services/Gateways/LeagueOfLegendsGateway.php
@@ -322,7 +322,7 @@ public function grabRankImage(string $rankName): ?string
322
$rankImage = null;
323
if (! $this->getRankImageFolderPath()) {
324
if ($archiveFilePath = $this->downloadArchive('https://static.developer.riotgames.com/docs/lol/ranked-emblems-latest.zip', 'rank-icons')) {
325
- $rankImageFolderPath = getcwd().'/storage/ranked-emblems-latest';
+ $rankImageFolderPath = getcwd().'/storage/rank-icons';
326
if ($this->extractArchive($archiveFilePath, $rankImageFolderPath)) {
327
$this->setRankImageFolderPath($rankImageFolderPath);
328
File::delete($archiveFilePath);
0 commit comments