Fix request parameter mapping to selectByBoundaries() in Api\Mastodon\Notifications
This commit is contained in:
parent
9b68364b86
commit
b3c576b9ce
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ class Notifications extends BaseApi
|
|||
$Notifications = DI::notification()->selectByBoundaries(
|
||||
$condition,
|
||||
$params,
|
||||
$request['min_id'] ?? null,
|
||||
$request['min_id'] ?? $request['since_id'] ?? null,
|
||||
$request['min_id'] ?: $request['since_id'],
|
||||
$request['max_id'],
|
||||
$request['limit']
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue