From 2d1f082bb6bee89242ee8042dc19016179078566 Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Wed, 19 Jan 2022 12:08:46 +0900 Subject: [PATCH] Fix NameError on ActivityPub::FetchFeaturedCollectionService (#17326) Related: #16954 --- app/services/activitypub/fetch_featured_collection_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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