mirror of
https://github.com/friendica/friendica
synced 2025-04-29 18:24:23 +02:00
More parameter handling improved
This commit is contained in:
parent
6c767743d1
commit
fd4926b0f3
11 changed files with 27 additions and 32 deletions
|
@ -40,7 +40,7 @@ class Conversation extends BaseApi
|
|||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
// params
|
||||
$id = $this->parameters['id'] ?? 0;
|
||||
$id = $this->getRequestValue($this->parameters, 'id', 0);
|
||||
$since_id = $this->getRequestValue($request, 'since_id', 0, 0);
|
||||
$max_id = $this->getRequestValue($request, 'max_id', 0, 0);
|
||||
$count = $this->getRequestValue($request, 'count', 20, 1, 100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue