diff --git a/app/controllers/api/v1/accounts/articles_controller.rb b/app/controllers/api/v1/accounts/articles_controller.rb index 7762cc476..d164778ac 100644 --- a/app/controllers/api/v1/accounts/articles_controller.rb +++ b/app/controllers/api/v1/accounts/articles_controller.rb @@ -10,7 +10,7 @@ class Api::V1::Accounts::ArticlesController < Api::V1::Accounts::BaseController @articles_count = @all_articles.count @articles = if list_params[:category_slug].present? - @all_articles.order_by_position.page(@current_page).per(50) + @all_articles.order_by_position.page(@current_page) else @all_articles.order_by_updated_at.page(@current_page) end