change list_alerts function to handle GET filter not POST

This commit is contained in:
PandaWawawa
2015-10-08 15:25:10 +02:00
parent 6ac8e72728
commit e6b84541b7

View File

@ -623,7 +623,6 @@ 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');