Merge remote-tracking branch 'parent/main' into kb_migration

This commit is contained in:
KMY 2023-07-18 11:35:02 +09:00
commit a56a732dd2
57 changed files with 986 additions and 605 deletions

View file

@ -8,6 +8,8 @@ class ActivityPub::ProcessCollectionService < BaseService
@json = original_json = Oj.load(body, mode: :strict)
@options = options
return unless @json.is_a?(Hash)
begin
@json = compact(@json) if @json['signature'].is_a?(Hash)
rescue JSON::LD::JsonLdError => e