Skip to content
Snippets Groups Projects
Commit e014bf8e authored by Naoki Kosaka's avatar Naoki Kosaka Committed by Eugen Rochko
Browse files

Fix limit_param in favourites_controller.rb (#3553)

parent f6e2309e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment