mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
Remove contact code cache from domain contacts table
This commit is contained in:
parent
3852620180
commit
750bf0821c
11 changed files with 42 additions and 50 deletions
|
@ -23,7 +23,7 @@ module Serializers
|
|||
# rubocop:enable Metrics/AbcSize
|
||||
|
||||
def contacts
|
||||
domain.domain_contacts.map { |c| { code: c.contact_code_cache, type: c.type } }
|
||||
domain.domain_contacts.map { |c| { code: c.contact.code, type: c.type } }
|
||||
end
|
||||
|
||||
def nameservers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue