Fix sidekiq JSON serialization warning in ActivityPub::FetchAllRepliesWorker (#34702)

This commit is contained in:
Claire authored and GitHub committed 2025-05-16 09:07:33 +00:00
1 parent c058c45a8e
commit 3ea1f074ab
2 files changed
+2 -4

No files matched your search

@@ -80,7 +80,7 @@ class ActivityPub::FetchAllRepliesWorker
root_status_body = fetch_resource(root_status_uri, true)
return if root_status_body.nil?
FetchReplyWorker.perform_async(root_status_uri, { **options, prefetched_body: root_status_body })
FetchReplyWorker.perform_async(root_status_uri, { **options.deep_stringify_keys, 'prefetched_body' => root_status_body })
get_replies(root_status_body, MAX_PAGES, options)
end