1
0
Fork 0
forked from fedi/mastodon

Fix NameError on ActivityPub::FetchFeaturedCollectionService (#17326)

Related: #16954
This commit is contained in:
Jeong Arm 2022-01-19 12:08:46 +09:00 committed by GitHub
parent f616897841
commit 2d1f082bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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