mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
Set perform later for SendEInvoiceJob
This commit is contained in:
parent
14a9b5b709
commit
77a6f6d985
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class SendMonthlyInvoicesJob < ApplicationJob
|
||||||
end
|
end
|
||||||
|
|
||||||
def send_e_invoice(invoice_id)
|
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
|
end
|
||||||
|
|
||||||
def create_invoice(summary, registrar)
|
def create_invoice(summary, registrar)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue