Forgot a value in the ResourceRecord type.

This commit is contained in:
Philippe Pittoli 2023-07-10 03:59:15 +02:00
parent b89eae5a82
commit faf7129989

View File

@ -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