Merge branch 'registry-791' into registry-790

This commit is contained in:
Artur Beljajev 2018-07-27 16:18:28 +03:00
commit 4b30234c86
14 changed files with 189 additions and 142 deletions

View file

@ -577,6 +577,7 @@ class Domain < ActiveRecord::Base
hash = super
hash['auth_info'] = hash.delete('transfer_code') # API v1 requirement
hash['valid_from'] = hash['registered_at'] # API v1 requirement
hash.delete('statuses_before_force_delete')
hash
end