diff --git a/app/tasks/maintenance/add_dossiers_missing_champs_task.rb b/app/tasks/maintenance/add_dossiers_missing_champs_task.rb index 7ffe905a5..33a6aeff2 100644 --- a/app/tasks/maintenance/add_dossiers_missing_champs_task.rb +++ b/app/tasks/maintenance/add_dossiers_missing_champs_task.rb @@ -5,7 +5,7 @@ module Maintenance csv_collection def process(row) - DataFixer::DossierChampsMissing(dossier: row["dossier_id"]).fix + DataFixer::DossierChampsMissing.new(dossier: row["dossier_id"]).fix end end end