mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Re-added return for no results (derp)
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
cc665d50ed
commit
7846251d25
|
@ -394,6 +394,9 @@ class AssetsController extends Controller
|
|||
|
||||
}
|
||||
|
||||
// If there are 0 results, return the "no such asset" response
|
||||
return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/hardware/message.does_not_exist')), 200);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue