Skip to content

Commit

Permalink
Fix team data in api results
Browse files Browse the repository at this point in the history
  • Loading branch information
sstenchlak authored Nov 20, 2024
1 parent 59f686b commit 8be78f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Components/ApiResults/ApiResultsComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ private function serialiseTeams(): array
foreach ($team['members'] as $member) {
$members[] = [
'name' => $member['name'],
'schoolName' => $member['school']['name'] ?? '',
'countryIso' => $member['school']['countryIso'] ?? '',
'schoolName' => $member['school']['nameAbbrev'] ?? '',
'countryIso' => $member['school']['countryISO'] ?? '',
];
}
$teams[] = [
Expand Down

0 comments on commit 8be78f5

Please sign in to comment.