Removed extra log on API asset create

This commit is contained in:
snipe 2017-10-31 05:38:52 -07:00
parent 121e158f39
commit 472a5b9f69

View file

@ -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')) {