diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-17 21:23:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 03:23:49 +0100 |
commit | 634368c491c8e89d93b54dd2dc170f0873beafcb (patch) | |
tree | f3875a6a91f7caf6a2fa568f10145d62a089d386 /app/services | |
parent | 6d42820e5df4a2282af1194a98789b45027aabce (diff) |
Autofix Rubocop Lint/SymbolConversion (#23683)
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/backup_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/backup_service.rb b/app/services/backup_service.rb index 037f519d3..b880dfbe7 100644 --- a/app/services/backup_service.rb +++ b/app/services/backup_service.rb @@ -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| |