From 4bb97796958210247d9d72e8a957a625f8861291 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 9 May 2019 11:25:14 +0800 Subject: [PATCH] change post body key --- route/api/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/api/dns.go b/route/api/dns.go index dba7ce5..7b719bd 100644 --- a/route/api/dns.go +++ b/route/api/dns.go @@ -27,7 +27,7 @@ type DomainData struct { // UpdateDDNSBody - type UpdateDDNSBody struct { - Domain []DomainData `json:"domain"` + Domain []DomainData `json:"domains"` } // UpdateDDNS -