Fix limit_param in favourites_controller.rb (#3553)

master
Naoki Kosaka 8 years ago committed by Eugen Rochko
parent f6e2309e70
commit e014bf8ed0
  1. 2
      app/controllers/api/v1/favourites_controller.rb

@ -65,7 +65,7 @@ class Api::V1::FavouritesController < ApiController
end end
def records_continue? def records_continue?
results.size == limit_param(DEFAULT_ACCOUNTS_LIMIT) results.size == limit_param(DEFAULT_STATUSES_LIMIT)
end end
def pagination_params(core_params) def pagination_params(core_params)

Loading…
Cancel
Save