mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
fixed reload balance and directo
This commit is contained in:
parent
443643d937
commit
368e904d5e
4 changed files with 13 additions and 14 deletions
|
@ -17,7 +17,7 @@ namespace :registrars do
|
|||
next if reload_pending || !threshold_reached
|
||||
|
||||
Registrar.transaction do
|
||||
registrar.issue_prepayment_invoice(reload_amount)
|
||||
registrar.issue_prepayment_invoice(reload_amount, 'reload balance')
|
||||
registrar.settings['balance_auto_reload']['pending'] = true
|
||||
registrar.save!
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue