Skip to content

Commit 115652e

Browse files
authored
Merge branch 'production' into main
2 parents 79565d0 + 567b4ba commit 115652e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

app/Http/Controllers/Api/PlanetStatusController.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,8 @@ public function playersGlobal(Request $request) {
107107
$q->latest()->where('created_at', '<', $time)->limit(1);
108108
}])->get();
109109

110-
// TODO! Fix how the player count is fetched
111-
#error_log($planets->pluck('history'));
112110
$players = $planets->pluck('history')->OneEntryArrayList()->sum('players');
113111

114-
#error_log(print_r($planets->pluck('history')->OneEntryArrayList()->sum('players')));
115-
116112
return response()->json([
117113
"count" => $players
118114
], 200);

0 commit comments

Comments
 (0)