about summary refs log tree commit diff
path: root/app/services/subscribe_service.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-15 17:11:40 +0200
committerThibaut Girka <thib@sitedethib.com>2019-05-15 17:11:40 +0200
commit6badf2d252a980d496b894c7258a778c57639953 (patch)
treeb7c71885c413a8205dbe9d01bab7c60ea75c11bf /app/services/subscribe_service.rb
parentcd534830adab89300703904ffe87894dec8e2f95 (diff)
parentf4f22391b2d469bd1d5c29ec815daf020282f30c (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services/subscribe_service.rb')
-rw-r--r--app/services/subscribe_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/subscribe_service.rb b/app/services/subscribe_service.rb
index 2893b5410..83fd64396 100644
--- a/app/services/subscribe_service.rb
+++ b/app/services/subscribe_service.rb
@@ -43,7 +43,7 @@ class SubscribeService < BaseService
   end
 
   def some_local_account
-    @some_local_account ||= Account.local.where(suspended: false).first
+    @some_local_account ||= Account.local.without_suspended.first
   end
 
   # Any response in the 3xx or 4xx range, except for 429 (rate limit)