mirror of
https://github.com/friendica/friendica
synced 2025-04-23 14:30:11 +00:00
Define reasonable min and max values
This commit is contained in:
parent
4724000d06
commit
a3173ccb50
7 changed files with 22 additions and 22 deletions
|
@ -60,9 +60,9 @@ abstract class DirectMessagesEndpoint extends BaseApi
|
|||
// params
|
||||
$count = $this->getRequestValue($request, 'count', 20, 1, 100);
|
||||
$page = $this->getRequestValue($request, 'page', 1, 1);
|
||||
$since_id = $this->getRequestValue($request, 'since_id', 0, 1);
|
||||
$max_id = $this->getRequestValue($request, 'max_id', 0, 1);
|
||||
$min_id = $this->getRequestValue($request, 'min_id', 0, 1);
|
||||
$since_id = $this->getRequestValue($request, 'since_id', 0, 0);
|
||||
$max_id = $this->getRequestValue($request, 'max_id', 0, 0);
|
||||
$min_id = $this->getRequestValue($request, 'min_id', 0, 0);
|
||||
$verbose = $this->getRequestValue($request, 'friendica_verbose', false);
|
||||
|
||||
// pagination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue