Autofix Rubocop Lint/SymbolConversion (#23683)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-18 03:23:49 +01:00
1 parent 6d42820e5d
commit 634368c491
8 files changed
+35 -49

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ class BackupService < BaseService
account.statuses.with_includes.reorder(nil).find_in_batches do |statuses|
statuses.each do |status|
item = serialize_payload(ActivityPub::ActivityPresenter.from_status(status), ActivityPub::ActivitySerializer, signer: @account)
item.delete(:'@context')
item.delete(:@context)
unless item[:type] == 'Announce' || item[:object][:attachment].blank?
item[:object][:attachment].each do |attachment|