diff options
author | Naoki Kosaka <yukimochi@outlook.com> | 2017-06-04 21:52:26 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-04 14:52:26 +0200 |
commit | e014bf8ed01a5f6ff30d345ce056b667965d64c6 (patch) | |
tree | ae09178d0dad74e31bbcb4c00ab0615d3fff3101 | |
parent | f6e2309e70f7df49e30fee2820da8a3fd698be7a (diff) |
Fix limit_param in favourites_controller.rb (#3553)
-rw-r--r-- | app/controllers/api/v1/favourites_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/favourites_controller.rb b/app/controllers/api/v1/favourites_controller.rb index 4614a0c72..a74db92af 100644 --- a/app/controllers/api/v1/favourites_controller.rb +++ b/app/controllers/api/v1/favourites_controller.rb @@ -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) |