Browse Source

Fix limit_param in favourites_controller.rb (#3553)

Naoki Kosaka 7 years ago
parent
commit
e014bf8ed0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controllers/api/v1/favourites_controller.rb

+ 1 - 1
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)