Skip to content

Commit

Permalink
Fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kejax committed Apr 8, 2024
1 parent b477da1 commit 4091ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}

// Mark old campaigns as marked if they're not in the array
$oldCampaigns = PlanetCampaign::where('ended_at', null);
$oldCampaigns = PlanetCampaign::where('ended_at', null)->get();
$newCampaignIds = collect($data['campaigns'])->pluck('id')->all();

foreach ($oldCampaigns as $oldCampaign) {
Expand Down

0 comments on commit 4091ef4

Please sign in to comment.