Remove domains.statuses_before_force_delete from REST API

This commit is contained in:
Artur Beljajev 2018-06-11 06:19:33 +03:00
parent 36b137eb84
commit 304b04bd61
2 changed files with 2 additions and 4 deletions

View file

@ -639,6 +639,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

View file

@ -63,10 +63,7 @@ Content-Type: application/json
],
"reserved": false,
"status_notes": {
},
"statuses_backup": [
]
}
}
],
"total_number_of_records": 2