diff --git a/app/Listeners/LogListener.php b/app/Listeners/LogListener.php index d7973e2103..8c60bdc675 100644 --- a/app/Listeners/LogListener.php +++ b/app/Listeners/LogListener.php @@ -66,6 +66,7 @@ class LogListener $logaction->note = $event->acceptance->note; $logaction->action_type = 'accepted'; $logaction->action_date = $event->acceptance->accepted_at; + $logaction->created_by = auth()->user()->id; // TODO: log the actual license seat that was checked out if ($event->acceptance->checkoutable instanceof LicenseSeat) { @@ -84,6 +85,7 @@ class LogListener $logaction->note = $event->acceptance->note; $logaction->action_type = 'declined'; $logaction->action_date = $event->acceptance->declined_at; + $logaction->created_by = auth()->user()->id; // TODO: log the actual license seat that was checked out if ($event->acceptance->checkoutable instanceof LicenseSeat) {