about summary refs log tree commit diff
path: root/app/models/account_stat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/account_stat.rb')
-rw-r--r--app/models/account_stat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account_stat.rb b/app/models/account_stat.rb
index 6d1097cec..1351f7d8a 100644
--- a/app/models/account_stat.rb
+++ b/app/models/account_stat.rb
@@ -16,7 +16,7 @@
 class AccountStat < ApplicationRecord
   belongs_to :account, inverse_of: :account_stat
 
-  update_index('accounts#account', :account) if Chewy.enabled?
+  update_index('accounts#account', :account)
 
   def increment_count!(key)
     update(attributes_for_increment(key))