Style stuff ...

This commit is contained in:
Michael 2021-05-18 07:18:31 +00:00
parent f31fdf4391
commit 2252949bca
1 changed files with 3 additions and 2 deletions

View File

@ -46,8 +46,9 @@ class Search extends BaseApi
self::login(self::SCOPE_READ);
$uid = self::getCurrentUserID();
$request = self::getRequest(['account_id' => 0, 'max_id' => 0, 'min_id' => 0, 'type' => '',
'exclude_unreviewed' => false, 'q' => '', 'resolve' => false, 'limit' => 20, 'offset' => 0, 'following' => false]);
$request = self::getRequest(
['max_id' => 0, 'min_id' => 0, 'account_id' => 0, 'type' => '', 'exclude_unreviewed' => false,
'resolve' => false, 'q' => '', 'limit' => 20, 'offset' => 0, 'following' => false]);
// If provided, statuses returned will be authored only by this account
$account_id = $request['account_id'];