diff --git a/src/Module/Api/Mastodon/Notifications.php b/src/Module/Api/Mastodon/Notifications.php index ab94fee55..31fe7a57f 100644 --- a/src/Module/Api/Mastodon/Notifications.php +++ b/src/Module/Api/Mastodon/Notifications.php @@ -56,15 +56,15 @@ class Notifications extends BaseApi } $request = $this->getRequest([ - 'max_id' => 0, // Return results older than this ID - 'since_id' => 0, // Return results newer than this ID - 'min_id' => 0, // Return results immediately newer than this ID - 'limit' => 20, // Maximum number of results to return (default 20) + 'max_id' => 0, // Return results older than this ID + 'since_id' => 0, // Return results newer than this ID + 'min_id' => 0, // Return results immediately newer than this ID + 'limit' => 20, // Maximum number of results to return (default 20) 'exclude_types' => [], // Array of types to exclude (follow, favourite, reblog, mention, poll, follow_request) - 'account_id' => 0, // Return only notifications received from this account - 'with_muted' => false, // Pleroma extension: return activities by muted (not by blocked!) users. - 'include_all' => false, // Include dismissed and undismissed - 'summary' => false, + 'account_id' => 0, // Return only notifications received from this account + 'with_muted' => false, // Pleroma extension: return activities by muted (not by blocked!) users. + 'include_all' => false, // Include dismissed and undismissed + 'summary' => false, ], $request); $params = ['order' => ['id' => true]];