This commit is contained in:
Michael 2021-05-18 07:13:32 +00:00
parent 8ae29eabe8
commit f31fdf4391

View File

@ -47,8 +47,7 @@ class Search extends BaseApi
$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]);
'exclude_unreviewed' => false, 'q' => '', 'resolve' => false, 'limit' => 20, 'offset' => 0, 'following' => false]);
// If provided, statuses returned will be authored only by this account
$account_id = $request['account_id'];