mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Update all contact code to upcase
This commit is contained in:
parent
4ea983c865
commit
c704f4894a
5 changed files with 18 additions and 3 deletions
|
@ -59,6 +59,7 @@ class Epp::Contact < Contact
|
|||
prefix = custom_code.split(':').first
|
||||
custom_code = "#{registrar.code}:#{custom_code}" if prefix != registrar.code
|
||||
custom_code = nil if custom_code == registrar.code
|
||||
custom_code.upcase! if custom_code.present?
|
||||
end
|
||||
|
||||
super(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue