mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +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
|
@ -15,6 +15,11 @@ module Actions
|
|||
end
|
||||
|
||||
def renew
|
||||
if !domain.renewable? || domain.invalid?
|
||||
domain.add_renew_epp_errors
|
||||
return
|
||||
end
|
||||
|
||||
task = Domains::BulkRenew::SingleDomainRenew.run(domain: domain,
|
||||
period: params[:period],
|
||||
unit: params[:period_unit],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue