mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 15:01:29 +00:00
api/getHeadlines: increase limit to 200
This commit is contained in:
@@ -185,7 +185,7 @@ class API extends Handler {
|
|||||||
|
|
||||||
$limit = (int)$this->dbh->escape_string($_REQUEST["limit"]);
|
$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"]);
|
$offset = (int)$this->dbh->escape_string($_REQUEST["skip"]);
|
||||||
$filter = $this->dbh->escape_string($_REQUEST["filter"]);
|
$filter = $this->dbh->escape_string($_REQUEST["filter"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user