Skip to content
This repository was archived by the owner on Jan 25, 2020. It is now read-only.

Commit 7775e1e

Browse files
committed
oops2
1 parent f2f4541 commit 7775e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Console/Commands/GenerateEmailTodo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function handle()
122122
}
123123
}
124124
if ($mode == 8) {
125-
foreach (User::whereIn('id', $checkedInHackers)->with('application', 'application.school')->get() as $user) {
125+
foreach (User::whereIn('id', $checkedInHackers->pluck('user_id'))->with('application', 'application.school')->get() as $user) {
126126
$this->info($user->first_name.','.$user->last_name.','.$user->email.','.($user->application && $user->application->school ? $user->application->school->name : 'n/a'));
127127
}
128128
}

0 commit comments

Comments
 (0)