parent
6c40e567aa
commit
965345316f
2 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,8 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
|
|||
include JsonLdHelper
|
||||
|
||||
def call(account)
|
||||
return if account.featured_collection_url.blank?
|
||||
|
||||
@account = account
|
||||
@json = fetch_resource(@account.featured_collection_url, true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue