parent
8bf95a9a21
commit
f6f4e5e007
|
@ -71,7 +71,7 @@ class IndexController extends BaseApiController
|
||||||
];
|
];
|
||||||
$monitorThreshold = MonitorThreshold::select();
|
$monitorThreshold = MonitorThreshold::select();
|
||||||
if($monitorThreshold){
|
if($monitorThreshold){
|
||||||
$monitorThreshold=$monitorThreshold->toArray()[0]
|
$monitorThreshold=$monitorThreshold->toArray()[0];
|
||||||
}else{
|
}else{
|
||||||
$monitorThreshold=[];
|
$monitorThreshold=[];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue