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(
|
$Notifications = DI::notification()->selectByBoundaries(
|
||||||
$condition,
|
$condition,
|
||||||
$params,
|
$params,
|
||||||
$request['min_id'] ?? null,
|
$request['min_id'] ?: $request['since_id'],
|
||||||
$request['min_id'] ?? $request['since_id'] ?? null,
|
$request['max_id'],
|
||||||
$request['limit']
|
$request['limit']
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue