Skip to content

Commit

Permalink
forget year 9
Browse files Browse the repository at this point in the history
  • Loading branch information
fredbradley committed Sep 3, 2024
1 parent 3e17701 commit b9e9559
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Controllers/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public function getHouseData(string $house): JsonResponse
return $item->boardingHouse == $house;
})->groupBy(['yearGroup']);

$allPupils->forget(9);

$result = [];

foreach ($allPupils as $yearGroup => $pupils) {
Expand Down

0 comments on commit b9e9559

Please sign in to comment.