Forgot a value in the ResourceRecord type.
This commit is contained in:
parent
b89eae5a82
commit
faf7129989
@ -7,7 +7,8 @@ import Data.Codec.Argonaut as CA
|
||||
import Data.Codec.Argonaut.Record as CAR
|
||||
|
||||
type ResourceRecord
|
||||
= { rrid :: Int
|
||||
= { rrtype :: String
|
||||
, rrid :: Int
|
||||
, name :: String
|
||||
, ttl :: Int
|
||||
, target :: String
|
||||
@ -34,7 +35,8 @@ type ResourceRecord
|
||||
codec :: JsonCodec ResourceRecord
|
||||
codec = CA.object "ResourceRecord"
|
||||
(CAR.record
|
||||
{ rrid: CA.int
|
||||
{ rrtype: CA.string
|
||||
, rrid: CA.int
|
||||
, name: CA.string
|
||||
, ttl: CA.int
|
||||
, target: CA.string
|
||||
|
Loading…
Reference in New Issue
Block a user