fix(after_party): add the missing second argument to send_expiration_notices method

ArgumentError: wrong number of arguments (given 1, expected 2)
app/services/expired_dossiers_deletion_service.rb:72:in `send_expiration_notices'
lib/tasks/deployment/20200401123317_process_expired_dossiers_en_construction.rake:11:in `block (2 levels) in <main>'

refs: 7028
This commit is contained in:
François Vantomme 2022-03-11 16:12:55 +01:00 committed by simon lehericey
parent 54289dbcb8
commit 93233be5c9

View file

@ -8,7 +8,7 @@ namespace :after_party do
.en_construction_close_to_expiration
.without_en_construction_expiration_notice_sent
ExpiredDossiersDeletionService.send_expiration_notices(dossiers_close_to_expiration)
ExpiredDossiersDeletionService.send_expiration_notices(dossiers_close_to_expiration, :en_construction_close_to_expiration_notice_sent_at)
BATCH_SIZE = 1000