mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
corrected issue with asset not found errors
This commit is contained in:
parent
55b8d080b9
commit
7acb559069
|
@ -867,8 +867,8 @@ class AssetsController extends Controller
|
|||
}
|
||||
|
||||
return response()->json(Helper::formatStandardApiResponse('error', [
|
||||
'asset'=> e($request->input('asset'))
|
||||
], 'Asset with tag '.e($request->input('asset')).' not found'));
|
||||
'asset'=> e($request->input('asset_tag'))
|
||||
], 'Asset with tag '.e($request->input('asset_tag')).' not found'));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue