diff options
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/precompute_feed_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/precompute_feed_service.rb b/app/services/precompute_feed_service.rb index bcc757222..0fb33db23 100644 --- a/app/services/precompute_feed_service.rb +++ b/app/services/precompute_feed_service.rb @@ -18,11 +18,11 @@ class PrecomputeFeedService < BaseService end def home(account) - Status.where(account: [account] + account.following).with_includes.with_counts + Status.where(account: [account] + account.following).with_includes.with_counters end def mentions(account) - Status.where(id: Mention.where(account: account).pluck(:status_id)).with_includes.with_counts + Status.where(id: Mention.where(account: account).pluck(:status_id)).with_includes.with_counters end def key(type, id) |