mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 21:15:05 +01:00
Fix limit_param in favourites_controller.rb (#3553)
This commit is contained in:
parent
f6e2309e70
commit
e014bf8ed0
@ -65,7 +65,7 @@ class Api::V1::FavouritesController < ApiController
|
||||
end
|
||||
|
||||
def records_continue?
|
||||
results.size == limit_param(DEFAULT_ACCOUNTS_LIMIT)
|
||||
results.size == limit_param(DEFAULT_STATUSES_LIMIT)
|
||||
end
|
||||
|
||||
def pagination_params(core_params)
|
||||
|
Loading…
Reference in New Issue
Block a user