Limit returned followees/followers by API to 40 for now
This commit is contained in:
parent
f10feb2e70
commit
fa1cc2d05a
2 changed files with 3 additions and 3 deletions
|
@ -14,12 +14,12 @@ class Api::V1::AccountsController < ApiController
|
|||
end
|
||||
|
||||
def following
|
||||
@accounts = @account.following
|
||||
@accounts = @account.following.limit(40)
|
||||
render action: :index
|
||||
end
|
||||
|
||||
def followers
|
||||
@accounts = @account.followers
|
||||
@accounts = @account.followers.limit(40)
|
||||
render action: :index
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue