From e014bf8ed01a5f6ff30d345ce056b667965d64c6 Mon Sep 17 00:00:00 2001 From: Naoki Kosaka Date: Sun, 4 Jun 2017 21:52:26 +0900 Subject: [PATCH] Fix limit_param in favourites_controller.rb (#3553) --- app/controllers/api/v1/favourites_controller.rb | 2 +- 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 index 4614a0c7248..a74db92af00 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)