Stop erasing data when auto-archiving procedures

This commit is contained in:
gregoirenovel 2017-05-26 19:37:55 +02:00
parent aaf590362f
commit f8673894e2

View file

@ -8,7 +8,7 @@ class AutoArchiveProcedureWorker
p.dossiers.state_en_construction.update_all(state: :received)
end
procedures_to_archive.update_all(archived: true, auto_archive_on: nil)
procedures_to_archive.update_all(archived: true)
end
end