From: Michael Date: Sat, 8 May 2021 12:28:04 +0000 (+0000) Subject: Formatting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d1c43cf651c161e922bff0943961e458a562655;p=friendica.git Formatting --- diff --git a/src/Module/Api/Mastodon/Accounts/Followers.php b/src/Module/Api/Mastodon/Accounts/Followers.php index 69e4e95eb1..739341a2fa 100644 --- a/src/Module/Api/Mastodon/Accounts/Followers.php +++ b/src/Module/Api/Mastodon/Accounts/Followers.php @@ -71,6 +71,7 @@ class Followers extends BaseApi if (!empty($min_id)) { $condition = DBA::mergeConditions($condition, ["`cid` > ?", $min_id]); + $params['order'] = ['cid']; } diff --git a/src/Module/Api/Mastodon/Accounts/Following.php b/src/Module/Api/Mastodon/Accounts/Following.php index c36c990c95..10d73e9071 100644 --- a/src/Module/Api/Mastodon/Accounts/Following.php +++ b/src/Module/Api/Mastodon/Accounts/Following.php @@ -71,6 +71,7 @@ class Following extends BaseApi if (!empty($min_id)) { $condition = DBA::mergeConditions($condition, ["`relation-cid` > ?", $min_id]); + $params['order'] = ['cid']; }