Skip to content

Commit

Permalink
fix(archive.content): include infos administratives in pj generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin committed Jan 31, 2024
1 parent 3ea718a commit 0650598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/procedure_archive_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def make_and_upload_archive(archive)
dossiers.processed_in_month(archive.month)
end

attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers, with_bills: true, with_champs_private: true)
attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers, with_bills: true, include_infos_administration: true, with_champs_private: true)

DownloadableFileService.download_and_zip(@procedure, attachments, zip_root_folder(archive)) do |zip_filepath|
ArchiveUploader.new(procedure: @procedure, filename: archive.filename(@procedure), filepath: zip_filepath)
Expand Down

0 comments on commit 0650598

Please sign in to comment.