api/getHeadlines: increase limit to 200

master
Andrew Dolgov 11 years ago
parent 1ffe3391f9
commit 6421b42963

@ -185,7 +185,7 @@ class API extends Handler {
$limit = (int)$this->dbh->escape_string($_REQUEST["limit"]);
if (!$limit || $limit >= 60) $limit = 60;
if (!$limit || $limit >= 200) $limit = 200;
$offset = (int)$this->dbh->escape_string($_REQUEST["skip"]);
$filter = $this->dbh->escape_string($_REQUEST["filter"]);

Loading…
Cancel
Save