Update list_controller.rb
This commit is contained in:
parent
a2793f04d6
commit
16b053b72d
|
@ -33,7 +33,7 @@ class Api::V1::Timelines::ListController < Api::BaseController
|
||||||
statuses = Status.where(
|
statuses = Status.where(
|
||||||
account: @accounts, reply: false
|
account: @accounts, reply: false
|
||||||
).where(
|
).where(
|
||||||
'updated_at > ?', 10.days.ago
|
'created_at > ?', 10.days.ago
|
||||||
).paginate_by_id(
|
).paginate_by_id(
|
||||||
limit_param(DEFAULT_STATUSES_LIMIT),
|
limit_param(DEFAULT_STATUSES_LIMIT),
|
||||||
params_slice(:max_id, :since_id, :min_id)
|
params_slice(:max_id, :since_id, :min_id)
|
||||||
|
|
Loading…
Reference in New Issue