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