From 02913235020d242e959f274fec588d9ebf8e39fa Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 14 Aug 2020 14:57:58 -0700 Subject: [PATCH] Use the user as the target --- app/Console/Commands/CheckinLicensesFromAllUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/CheckinLicensesFromAllUsers.php b/app/Console/Commands/CheckinLicensesFromAllUsers.php index fac3a92afa..a4e7477817 100644 --- a/app/Console/Commands/CheckinLicensesFromAllUsers.php +++ b/app/Console/Commands/CheckinLicensesFromAllUsers.php @@ -81,7 +81,7 @@ class CheckinLicensesFromAllUsers extends Command if ($seat->save()) { // Log the checkin - $seat->logCheckin($license, 'Checked in via cli tool'); + $seat->logCheckin($seat->user, 'Checked in via cli tool'); }