diff --git a/app/jobs/send_monthly_invoices_job.rb b/app/jobs/send_monthly_invoices_job.rb index 78f35ad1f..647bd0752 100644 --- a/app/jobs/send_monthly_invoices_job.rb +++ b/app/jobs/send_monthly_invoices_job.rb @@ -48,7 +48,7 @@ class SendMonthlyInvoicesJob < ApplicationJob end def send_e_invoice(invoice_id) - SendEInvoiceJob.set(wait: 1.minute).perform_now(invoice_id, payable: false) + SendEInvoiceJob.set(wait: 1.minute).perform_later(invoice_id, payable: false) end def create_invoice(summary, registrar)