Merge pull request #2598 from betagouv/fix-task
Fix the 2018_09_12_fix_templates task
This commit is contained in:
commit
3229f542dc
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ namespace :'2018_09_12_fix_templates' do
|
|||
task run: :environment do
|
||||
dossiers_with_invalid_attestations = find_dossiers_with_sent_and_invalid_attestations
|
||||
fix_templates
|
||||
fixed_attestations = regenerate_attestations(dossiers_with_invalid_attestations)
|
||||
fixed_attestations = delete_then_regenerate_attestations(dossiers_with_invalid_attestations)
|
||||
send_regenerated_attestations(dossiers_with_invalid_attestations)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue