Merge pull request #134 from Y-zu-don-maintenance-org/features/v4.1.15

Features/v4.1.15
This commit is contained in:
2024-02-17 10:18:09 +09:00
committed by GitHub
20 changed files with 225 additions and 49 deletions

View File

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