mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Fix domain renew porting to actions
This commit is contained in:
parent
9a7827107f
commit
988af6c91c
3 changed files with 12 additions and 1 deletions
|
@ -9,6 +9,7 @@ module Domains
|
|||
|
||||
def execute
|
||||
in_transaction_with_retries do
|
||||
check_balance
|
||||
success = domain.renew(domain.valid_to, period, unit)
|
||||
if success
|
||||
check_balance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue