From 5922ca92694ae0d455fc9de4776aa4f141c0dcb6 Mon Sep 17 00:00:00 2001 From: dajenet Date: Sun, 15 Apr 2018 15:49:13 +0200 Subject: [PATCH] Fix dnsimple api (#529) --- providers/dns/dnsimple/dnsimple.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/dnsimple/dnsimple.go b/providers/dns/dnsimple/dnsimple.go index e3fea79e..df76a241 100644 --- a/providers/dns/dnsimple/dnsimple.go +++ b/providers/dns/dnsimple/dnsimple.go @@ -176,5 +176,5 @@ func (c *DNSProvider) getAccountID() (string, error) { return "", fmt.Errorf("DNSimple user tokens are not supported, please use an account token.") } - return strconv.Itoa(whoamiResponse.Data.Account.ID), nil + return strconv.FormatInt(whoamiResponse.Data.Account.ID, 10), nil }