Fix `NoMethodError` in `ActivityPub::FetchFeaturedCollectionService` (#34811)

pull/34813/head
Claire 6 months ago committed by GitHub
parent b3615a803e
commit 198b59ca3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save