Revert "Merge pull request #7105 from betagouv/US/fix-dossier.processed_in_month"

This reverts commit a0e144b9a7, reversing
changes made to 49848bd150.
This commit is contained in:
Martin 2022-04-05 13:39:37 +02:00
parent 7653fc569e
commit c1884f231c
7 changed files with 3 additions and 44 deletions

View file

@ -22,7 +22,7 @@ class ProcedureArchiveService
dossiers = if archive.time_span_type == 'everything'
dossiers.state_termine
else
dossiers.processed_in_month(archive.month.to_datetime)
dossiers.processed_in_month(archive.month)
end
attachments = ActiveStorage::DownloadableFile.create_list_from_dossiers(dossiers)