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:
parent
54289dbcb8
commit
93233be5c9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace :after_party do
|
||||||
.en_construction_close_to_expiration
|
.en_construction_close_to_expiration
|
||||||
.without_en_construction_expiration_notice_sent
|
.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
|
BATCH_SIZE = 1000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue