mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 07:44:27 +02: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
|
@ -46,7 +46,7 @@ class Directory extends BaseApi
|
|||
'limit' => 40, // How many accounts to load. Default 40.
|
||||
'order' => 'active', // active to sort by most recently posted statuses (default) or new to sort by most recently created profiles.
|
||||
'local' => false, // Only return local accounts.
|
||||
]);
|
||||
], $request);
|
||||
|
||||
Logger::info('directory', ['offset' => $request['offset'], 'limit' => $request['limit'], 'order' => $request['order'], 'local' => $request['local']]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue