From 4dac4cec1d37d3a99c99b0abb31c96918c2c266d Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Fri, 23 Aug 2024 09:50:21 +0300 Subject: [PATCH] fix: fqdn query param should be omitempty (#95) --- entity/dns_resource_record.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/dns_resource_record.go b/entity/dns_resource_record.go index cdc535b..c4ff243 100644 --- a/entity/dns_resource_record.go +++ b/entity/dns_resource_record.go @@ -20,7 +20,7 @@ type DNSResourceRecordParams struct { type DNSResourceRecordsParams struct { Domain string `url:"domain,omitempty"` - FQDN string `url:"fqdn,omitmepty"` + FQDN string `url:"fqdn,omitempty"` Name string `url:"name,omitempty"` RRType string `url:"rrtype,omitempty"` }