mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Update user uploads for more data to work with recport
This commit is contained in:
parent
7718abaa72
commit
7d466f3584
|
@ -748,9 +748,10 @@ class UsersController extends Controller
|
||||||
$logAction = new Actionlog();
|
$logAction = new Actionlog();
|
||||||
$logAction->item_id = $user->id;
|
$logAction->item_id = $user->id;
|
||||||
$logAction->item_type = User::class;
|
$logAction->item_type = User::class;
|
||||||
|
$logAction->target_type = User::class;
|
||||||
|
$logAction->target_id = $user->id;
|
||||||
$logAction->user_id = Auth::user()->id;
|
$logAction->user_id = Auth::user()->id;
|
||||||
$logAction->note = $request->input('notes');
|
$logAction->note = $request->input('notes');
|
||||||
$logAction->target_id = null;
|
|
||||||
$logAction->created_at = date("Y-m-d H:i:s");
|
$logAction->created_at = date("Y-m-d H:i:s");
|
||||||
$logAction->filename = $filename;
|
$logAction->filename = $filename;
|
||||||
$logAction->action_type = 'uploaded';
|
$logAction->action_type = 'uploaded';
|
||||||
|
|
Loading…
Reference in a new issue