Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yzy613 committed Feb 28, 2023
1 parent 6f97496 commit c4fbf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (cfc *Cloudflare) Run(enabled common.Enable, ipv4, ipv6 string) (msg []stri
func (cfc *Cloudflare) getParseRecord(domain, recordType string) (domainId, recordIP string, err error) {
httpClient := getGeneralHttpClient()
url := "https://api.cloudflare.com/client/v4/zones/" + cfc.ZoneID + "/dns_records?name=" + domain
req, err := http.NewRequest("GET", url, nil)
req, err := http.NewRequest("GET", url, http.NoBody)
if err != nil {
return
}
Expand Down

0 comments on commit c4fbf66

Please sign in to comment.