mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Remove domains.statuses_before_force_delete
from REST API
This commit is contained in:
parent
36b137eb84
commit
304b04bd61
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -63,10 +63,7 @@ Content-Type: application/json
|
|||
],
|
||||
"reserved": false,
|
||||
"status_notes": {
|
||||
},
|
||||
"statuses_backup": [
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"total_number_of_records": 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue