mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -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', [
|
return response()->json(Helper::formatStandardApiResponse('error', [
|
||||||
'asset'=> e($request->input('asset'))
|
'asset'=> e($request->input('asset_tag'))
|
||||||
], 'Asset with tag '.e($request->input('asset')).' not found'));
|
], 'Asset with tag '.e($request->input('asset_tag')).' not found'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue