Merge pull request #1793 from basecamp/dont-compress-exports

Don't compress attachments in export
This commit is contained in:
Kevin McConnell
2025-12-02 11:52:51 +00:00
committed by GitHub
+1 -1
View File
@@ -63,7 +63,7 @@ class Account::Export < ApplicationRecord
end
card.export_attachments.each do |attachment|
zip.get_output_stream(attachment[:path]) do |f|
zip.get_output_stream(attachment[:path], compression_method: Zip::Entry::STORED) do |f|
attachment[:blob].download { |chunk| f.write(chunk) }
end
rescue ActiveStorage::FileNotFoundError