Merge pull request #134 from Y-zu-don-maintenance-org/features/v4.1.15
Features/v4.1.15
This commit is contained in:
@@ -43,7 +43,7 @@ class FetchResourceService < BaseService
|
||||
@response_code = response.code
|
||||
return nil if response.code != 200
|
||||
|
||||
if ['application/activity+json', 'application/ld+json'].include?(response.mime_type)
|
||||
if valid_activitypub_content_type?(response)
|
||||
body = response.body_with_limit
|
||||
json = body_to_json(body)
|
||||
|
||||
|
Reference in New Issue
Block a user