diff --git a/app/Http/Controllers/Api/AssetsController.php b/app/Http/Controllers/Api/AssetsController.php index 8f67808c20..7b692f397f 100644 --- a/app/Http/Controllers/Api/AssetsController.php +++ b/app/Http/Controllers/Api/AssetsController.php @@ -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')); }