Update list_controller.rb

This commit is contained in:
admin 2021-02-21 04:40:32 +00:00
parent a2793f04d6
commit 16b053b72d
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Api::V1::Timelines::ListController < Api::BaseController
statuses = Status.where(
account: @accounts, reply: false
).where(
'updated_at > ?', 10.days.ago
'created_at > ?', 10.days.ago
).paginate_by_id(
limit_param(DEFAULT_STATUSES_LIMIT),
params_slice(:max_id, :since_id, :min_id)