Remove contact code cache from domain contacts table

This commit is contained in:
Thiago Youssef 2022-05-04 14:38:14 +03:00
parent 3852620180
commit 750bf0821c
11 changed files with 42 additions and 50 deletions

View file

@ -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