1
1
Fork 0

Fix request parameter mapping to selectByBoundaries() in Api\Mastodon\Notifications

This commit is contained in:
Hypolite Petovan 2021-10-12 21:17:19 -04:00
parent 9b68364b86
commit b3c576b9ce

View file

@ -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']
);