Update user uploads for more data to work with recport

This commit is contained in:
snipe 2020-04-01 02:22:16 -07:00
parent 7718abaa72
commit 7d466f3584

View file

@ -748,9 +748,10 @@ class UsersController extends Controller
$logAction = new Actionlog();
$logAction->item_id = $user->id;
$logAction->item_type = User::class;
$logAction->target_type = User::class;
$logAction->target_id = $user->id;
$logAction->user_id = Auth::user()->id;
$logAction->note = $request->input('notes');
$logAction->target_id = null;
$logAction->created_at = date("Y-m-d H:i:s");
$logAction->filename = $filename;
$logAction->action_type = 'uploaded';