Update src/Module/Api/Mastodon/Notifications.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Hank G 2022-11-30 14:39:00 -05:00 committed by GitHub
parent b51b537711
commit f61dbf76a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ class Notifications extends BaseApi
$params = ['order' => ['id' => true]]; $params = ['order' => ['id' => true]];
$condition = ['uid' => $uid, 'dismissed' => false]; $condition = ['uid' => $uid, 'dismissed' => false];
if($request['include_all']) { if ($request['include_all']) {
$condition = ['uid' => $uid]; $condition = ['uid' => $uid];
} }