mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Story #109367694 - make upID optional to avoid possible error for AdminUser objects have no registar method
This commit is contained in:
parent
c74de1b2bd
commit
01ed0cedb9
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ xml.epp_head do
|
|||
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
|
||||
|
||||
if @domain.updated_at != @domain.created_at
|
||||
xml.tag!('domain:upID', @domain.updator.registrar.code)
|
||||
xml.tag!('domain:upID', @domain.updator.registrar.code) if @domain.updator.try(:registrar).present?
|
||||
xml.tag!('domain:upDate', @domain.updated_at.try(:iso8601))
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue