Domain info: owners are represented as integers.
parent
9346e81861
commit
96f82adf6b
|
@ -12,7 +12,7 @@ type DomainInfo
|
|||
= { name :: String
|
||||
, share_key :: Maybe String
|
||||
, transfer_key :: Maybe String
|
||||
, owners :: Array String
|
||||
, owners :: Array Int
|
||||
}
|
||||
|
||||
codec :: JsonCodec DomainInfo
|
||||
|
@ -21,7 +21,7 @@ codec = CA.object "DomainInfo"
|
|||
{ name: CA.string
|
||||
, share_key: CAR.optional CA.string
|
||||
, transfer_key: CAR.optional CA.string
|
||||
, owners: CA.array CA.string
|
||||
, owners: CA.array CA.int
|
||||
})
|
||||
|
||||
emptyDomainInfo :: DomainInfo
|
||||
|
|
Loading…
Reference in New Issue