Fixed case on logAction for usewr file upload

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-09-25 15:46:57 +01:00
parent eeabc8dc9d
commit 1c3babacaf

View file

@ -46,7 +46,7 @@ class UserFilesController 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->created_by = auth()->id(); $logAction->created_by = auth()->id();
$logAction->note = $request->input('notes'); $logAction->note = $request->input('notes');
$logAction->target_id = null; $logAction->target_id = null;
$logAction->created_at = date("Y-m-d H:i:s"); $logAction->created_at = date("Y-m-d H:i:s");