Merge commit 'a5b4a2b7e7' into kb-draft-5.21-lts

This commit is contained in:
KMY 2024-07-05 06:40:30 +09:00
commit 6896542a76
33 changed files with 338 additions and 109 deletions

View file

@ -19,8 +19,8 @@ class BackupService < BaseService
def build_outbox_json!(file)
skeleton = serialize(collection_presenter, ActivityPub::CollectionSerializer)
skeleton[:@context] = full_context
skeleton[:orderedItems] = ['!PLACEHOLDER!']
skeleton['@context'] = full_context
skeleton['orderedItems'] = ['!PLACEHOLDER!']
skeleton = Oj.dump(skeleton)
prepend, append = skeleton.split('"!PLACEHOLDER!"')
add_comma = false