A free open source IT asset/license management system
Add the asset to the cache after creating it as well.
Daniel Meltzer1e948eabc85b
diff --git a/app/Console/Commands/ObjectImportCommand.php b/app/Console/Commands/ObjectImportCommand.phpindex 288e45ec2c..616b700f43 100644--- a/app/Console/Commands/ObjectImportCommand.php+++ b/app/Console/Commands/ObjectImportCommand.php@@ -568,7 +568,7 @@ class ObjectImportCommand extends Command {$asset->supplier_id = $supplier->id;$asset->notes = $item["notes"];$asset->image = $asset_image;-+ $this->assets->add($asset);if (!$this->option('testrun')) {if ($asset->save()) {