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(); $uid = self::getCurrentUserID();
$request = self::getRequest(['account_id' => 0, 'max_id' => 0, 'min_id' => 0, 'type' => '', $request = self::getRequest(['account_id' => 0, 'max_id' => 0, 'min_id' => 0, 'type' => '',
'exclude_unreviewed' => false, 'q' => '', 'resolve' => false, 'limit' => 20, 'exclude_unreviewed' => false, 'q' => '', 'resolve' => false, 'limit' => 20, 'offset' => 0, 'following' => false]);
'offset' => 0, 'following' => false]);
// If provided, statuses returned will be authored only by this account // If provided, statuses returned will be authored only by this account
$account_id = $request['account_id']; $account_id = $request['account_id'];