mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added created by
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3a1fb615e7
commit
b6dbb8879a
|
@ -84,6 +84,7 @@ class LicenseImporter extends ItemImporter
|
||||||
$license->update($this->sanitizeItemForUpdating($license));
|
$license->update($this->sanitizeItemForUpdating($license));
|
||||||
} else {
|
} else {
|
||||||
$license->fill($this->sanitizeItemForStoring($license));
|
$license->fill($this->sanitizeItemForStoring($license));
|
||||||
|
$license->created_by = auth()->id();
|
||||||
}
|
}
|
||||||
|
|
||||||
// This sets an attribute on the Loggable trait for the action log
|
// This sets an attribute on the Loggable trait for the action log
|
||||||
|
|
Loading…
Reference in a new issue