commit: e014bf8ed01a5f6ff30d345ce056b667965d64c6
parent: f6e2309e70f7df49e30fee2820da8a3fd698be7a
Author: Naoki Kosaka <yukimochi@outlook.com>
Date: Sun, 4 Jun 2017 21:52:26 +0900
Fix limit_param in favourites_controller.rb (#3553)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)