mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed logging for component
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
fc8bb82a02
commit
cd7f276c40
|
@ -101,7 +101,7 @@ class ComponentCheckoutController extends Controller
|
|||
$component->asset_id = $request->input('asset_id');
|
||||
$component->assets()->attach($component->id, [
|
||||
'component_id' => $component->id,
|
||||
'user_id' => auth()->user(),
|
||||
'user_id' => auth()->user()->id,
|
||||
'created_at' => date('Y-m-d H:i:s'),
|
||||
'assigned_qty' => $request->input('assigned_qty'),
|
||||
'asset_id' => $request->input('asset_id'),
|
||||
|
|
Loading…
Reference in a new issue