diff --git a/app/models/export.rb b/app/models/export.rb index 820b15ee8..a67b835b7 100644 --- a/app/models/export.rb +++ b/app/models/export.rb @@ -25,7 +25,9 @@ class Export < ApplicationRecord file.attach( io: io, filename: filename, - content_type: content_type + content_type: content_type, + # We generate the exports ourselves, so they are safe + metadata: { virus_scan_result: ActiveStorage::VirusScanner::SAFE } ) end