Use upload file request

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-04-08 02:38:35 +01:00
parent c4d0afb8d4
commit 908bb35792

View file

@ -890,7 +890,7 @@ class AssetsController extends Controller
return view('hardware/audit')->with('asset', $asset)->with('item', $asset)->with('next_audit_date', $dt)->with('locations_list'); return view('hardware/audit')->with('asset', $asset)->with('item', $asset)->with('next_audit_date', $dt)->with('locations_list');
} }
public function auditStore(UpdateAssetRequest $request, Asset $asset) public function auditStore(UploadFileRequest $request, Asset $asset)
{ {
$this->authorize('audit', Asset::class); $this->authorize('audit', Asset::class);