mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Add owner contact
This commit is contained in:
parent
292daa66e0
commit
7a9988236e
2 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,8 @@ module Epp::DomainsHelper
|
|||
period: ph[:period].to_i,
|
||||
valid_from: Date.today,
|
||||
valid_to: Date.today + ph[:period].to_i.years,
|
||||
auth_info: ph[:authInfo][:pw]
|
||||
auth_info: ph[:authInfo][:pw],
|
||||
owner_contact_id: Contact.find_by(code: ph[:registrant]).try(:id)
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue