mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
Add a second parameter to BaseApi::getRequest to enable API tests
This commit is contained in:
parent
d83ebe6031
commit
9cc675233d
40 changed files with 45 additions and 41 deletions
|
@ -38,7 +38,7 @@ class Trends extends BaseApi
|
|||
{
|
||||
$request = self::getRequest([
|
||||
'limit' => 20, // Maximum number of results to return. Defaults to 10.
|
||||
]);
|
||||
], $request);
|
||||
|
||||
$trending = [];
|
||||
$tags = Tag::getGlobalTrendingHashtags(24, 20);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue