mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
change list_alerts function to handle GET filter not POST
This commit is contained in:
@@ -623,6 +623,7 @@ function list_alerts() {
|
||||
'err-msg' => '',
|
||||
'count' => $total_alerts,
|
||||
'alerts' => $alerts,
|
||||
'debug' => $_GET['state']
|
||||
);
|
||||
$app->response->setStatus('200');
|
||||
$app->response->headers->set('Content-Type', 'application/json');
|
||||
|
||||
Reference in New Issue
Block a user