about summary refs log tree commit diff
path: root/app/services/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/activitypub')
-rw-r--r--app/services/activitypub/fetch_featured_collection_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/fetch_featured_collection_service.rb b/app/services/activitypub/fetch_featured_collection_service.rb
index 9fce478c1..780741feb 100644
--- a/app/services/activitypub/fetch_featured_collection_service.rb
+++ b/app/services/activitypub/fetch_featured_collection_service.rb
@@ -48,6 +48,6 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
   end
 
   def local_follower
-    @local_follower ||= account.followers.local.without_suspended.first
+    @local_follower ||= @account.followers.local.without_suspended.first
   end
 end