mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 18:53:26 +02:00
Merge branch '118911315-whois_data_type' into staging
This commit is contained in:
commit
4dbdef03fc
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ class BlockedDomain < ActiveRecord::Base
|
|||
def generate_json
|
||||
h = HashWithIndifferentAccess.new
|
||||
h[:name] = self.name
|
||||
h[:status] = 'Blocked'
|
||||
h[:status] = ['Blocked']
|
||||
h
|
||||
end
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ class ReservedDomain < ActiveRecord::Base
|
|||
def generate_json
|
||||
h = HashWithIndifferentAccess.new
|
||||
h[:name] = self.name
|
||||
h[:status] = 'Reserved'
|
||||
h[:status] = ['Reserved']
|
||||
h
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue