From b6dbb8879a57cfd3f3c09f7f9602061327ea5c5f Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 13 Nov 2024 18:22:30 +0000 Subject: [PATCH] Added created by Signed-off-by: snipe --- app/Importer/LicenseImporter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Importer/LicenseImporter.php b/app/Importer/LicenseImporter.php index 3f7bb9f85c..0dc7475478 100644 --- a/app/Importer/LicenseImporter.php +++ b/app/Importer/LicenseImporter.php @@ -84,6 +84,7 @@ class LicenseImporter extends ItemImporter $license->update($this->sanitizeItemForUpdating($license)); } else { $license->fill($this->sanitizeItemForStoring($license)); + $license->created_by = auth()->id(); } // This sets an attribute on the Loggable trait for the action log