about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2022-01-19 12:08:46 +0900
committerGitHub <noreply@github.com>2022-01-19 04:08:46 +0100
commit2d1f082bb6bee89242ee8042dc19016179078566 (patch)
treeae6b065c955eb0673f6e6fb92e017858bb1b930d /app/services
parentf616897841866e9cf2c9df82001278945fa4121c (diff)
Fix NameError on ActivityPub::FetchFeaturedCollectionService (#17326)
Related: #16954
Diffstat (limited to 'app/services')
-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