From: Jeong Arm Date: Wed, 19 Jan 2022 03:08:46 +0000 (+0900) Subject: Fix NameError on ActivityPub::FetchFeaturedCollectionService (#17326) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2d1f082bb6bee89242ee8042dc19016179078566;p=mastodon.git Fix NameError on ActivityPub::FetchFeaturedCollectionService (#17326) Related: #16954 --- 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