Skip to content

Commit

Permalink
corrected issue with asset not found errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adagioajanes committed Dec 21, 2021
1 parent 55b8d08 commit 7acb559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,8 @@ public function checkinByTag(Request $request)
}

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


Expand Down

0 comments on commit 7acb559

Please sign in to comment.