]> cat aescling's git repositories - mastodon.git/commit
Fix following/followers API to return correct link headers (#3268)
authorunarist <m.unarist@gmail.com>
Tue, 23 May 2017 21:26:23 +0000 (06:26 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 23 May 2017 21:26:23 +0000 (23:26 +0200)
commit3ce9ca4c99c9403125ea2b23690a274b05dfd2ac
tree3cda23b8ef73ed58d4a2ed32d5e29750dc2d81a3
parent2ca1f0737a42f2943e8cf063f16eac5f93df2ed3
Fix following/followers API to return correct link headers (#3268)

Link headers in following/followers API should include follow_id as max_id/since_id.

However, these API use current_user's account_id instead of follow_id from #3167.
This causes irrelevant result on loading more users.
app/controllers/api/v1/accounts_controller.rb