mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Fix some CC issues
This commit is contained in:
parent
2ca9697b46
commit
d1cd0867c8
13 changed files with 72 additions and 63 deletions
|
@ -82,7 +82,9 @@ module Actions
|
|||
end
|
||||
|
||||
def assign_nameservers
|
||||
domain.nameservers_attributes = params[:nameservers_attributes] if params[:nameservers_attributes]
|
||||
return unless params[:nameservers_attributes]
|
||||
|
||||
domain.nameservers_attributes = params[:nameservers_attributes]
|
||||
end
|
||||
|
||||
def assign_contact(contact_code, admin: true)
|
||||
|
|
|
@ -21,9 +21,9 @@ module Actions
|
|||
end
|
||||
|
||||
task = Domains::BulkRenew::SingleDomainRenew.run(domain: domain,
|
||||
period: params[:period],
|
||||
unit: params[:period_unit],
|
||||
registrar: user)
|
||||
period: params[:period],
|
||||
unit: params[:period_unit],
|
||||
registrar: user)
|
||||
|
||||
task.valid?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue