mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Removed extra log on API asset create
This commit is contained in:
parent
121e158f39
commit
472a5b9f69
|
@ -353,7 +353,7 @@ class AssetsController extends Controller
|
|||
}
|
||||
|
||||
if ($asset->save()) {
|
||||
$asset->logCreate();
|
||||
|
||||
if ($request->get('assigned_user')) {
|
||||
$target = User::find(request('assigned_user'));
|
||||
} elseif ($request->get('assigned_asset')) {
|
||||
|
|
Loading…
Reference in a new issue