mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 02:50:46 +00:00
Fix NoMethodError in ActivityPub::FetchFeaturedCollectionService (#34811)
This commit is contained in:
parent
bd0c865bbb
commit
b38bbd04ea
|
|
@ -9,6 +9,7 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
|
|||
@account = account
|
||||
@options = options
|
||||
@json = fetch_collection(options[:collection].presence || @account.featured_collection_url)
|
||||
return if @json.blank?
|
||||
|
||||
process_items(collection_items(@json))
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user