mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Add a pause at the e-invoice creation
This commit is contained in:
parent
c7298cde0c
commit
dbda76200d
3 changed files with 16 additions and 2 deletions
|
@ -105,7 +105,7 @@ class Registrar < ApplicationRecord
|
|||
.deliver_later(wait: 1.minute)
|
||||
end
|
||||
|
||||
SendEInvoiceJob.perform_now(invoice.id, payable)
|
||||
SendEInvoiceJob.set(wait: 1.minute).perform_now(invoice.id, payable)
|
||||
|
||||
invoice
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue