From 1708897726c5fa57851c601280cef14056599d86 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 18 Dec 2023 17:14:03 -0800 Subject: [PATCH] Add log message for who is being sent expected checkin notifications --- app/Console/Commands/SendExpectedCheckinAlerts.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Console/Commands/SendExpectedCheckinAlerts.php b/app/Console/Commands/SendExpectedCheckinAlerts.php index 83a93a8a6..6533899ef 100644 --- a/app/Console/Commands/SendExpectedCheckinAlerts.php +++ b/app/Console/Commands/SendExpectedCheckinAlerts.php @@ -9,6 +9,7 @@ use App\Notifications\ExpectedCheckinAdminNotification; use App\Notifications\ExpectedCheckinNotification; use Carbon\Carbon; use Illuminate\Console\Command; +use Illuminate\Support\Facades\Log; class SendExpectedCheckinAlerts extends Command { @@ -50,6 +51,7 @@ class SendExpectedCheckinAlerts extends Command foreach ($assets as $asset) { if ($asset->assigned && $asset->checkedOutToUser()) { + Log::info('Sending ExpectedCheckinNotification to ' . $asset->assigned->email); $asset->assigned->notify((new ExpectedCheckinNotification($asset))); } }