Map APIToken to api_token in JSON config
See https://github.com/caddy-dns/vultr/issues/7
This commit is contained in:
parent
cd4cb5c12e
commit
c31c692dac
@ -14,7 +14,7 @@ type Provider struct {
|
||||
client Client
|
||||
// APIToken is the Vultr API token
|
||||
// see https://my.vultr.com/settings/#settingsapi
|
||||
APIToken string `json:"auth_token"`
|
||||
APIToken string `json:"api_token,omitempty"`
|
||||
}
|
||||
|
||||
// unFQDN trims any trailing "." from fqdn.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user