diff --git a/index.php b/index.php index bc65663..094d960 100644 --- a/index.php +++ b/index.php @@ -112,7 +112,7 @@ $lastMatches = array_slice($allMatches, 0, 8); $rankPoint = htmlspecialchars($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp']['currentRankPoint']); echo "name" . htmlspecialchars($playername) . "" . $rankPoint . ""; } else { - echo "name" . htmlspecialchars($playername) . ""; + echo "name" . htmlspecialchars($playername) . ""; } diff --git a/update/get_matches.ps1 b/update/get_matches.ps1 index 0348060..cc77ff4 100644 --- a/update/get_matches.ps1 +++ b/update/get_matches.ps1 @@ -33,6 +33,8 @@ catch { Write-Output 'Unable to read file exitin' exit } + + foreach ($player in $player_data) { $lastMatches = $player.relationships.matches.data.id #| Select-Object -First 10 $playermatches = @()