Fix dnsimple api (#529)

This commit is contained in:
dajenet 2018-04-15 15:49:13 +02:00 committed by Matt Holt
parent b2c4f3c84e
commit 5922ca9269

View file

@ -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 "", 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
} }