Re-added return for no results (derp)

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-01-09 20:43:57 -08:00
parent cc665d50ed
commit 7846251d25

View file

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