corrected issue with asset not found errors

This commit is contained in:
Alex Janes 2021-12-20 19:55:00 -05:00
parent 55b8d080b9
commit 7acb559069

View file

@ -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'));
}