Fix request parameter mapping to selectByBoundaries() in Api\Mastodon\Notifications
This commit is contained in:
parent
9b68364b86
commit
b3c576b9ce
|
@ -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