diff --git a/app/Http/Controllers/Api/StatuslabelsController.php b/app/Http/Controllers/Api/StatuslabelsController.php index aac2d37d81..a5f9e23073 100644 --- a/app/Http/Controllers/Api/StatuslabelsController.php +++ b/app/Http/Controllers/Api/StatuslabelsController.php @@ -155,7 +155,7 @@ class StatuslabelsController extends Controller public function getAssetCountByStatuslabel() { - $statusLabels = Statuslabel::with('assets')->get(); + $statusLabels = Statuslabel::get(); $labels=[]; $points=[]; $colors=[];