Fix godaddy error

This commit is contained in:
yoan
2024-09-13 09:56:01 +08:00
parent ac14924a73
commit 505cfc5c1e
4 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ func (a *godaddy) Apply() (*Certificate, error) {
json.Unmarshal([]byte(a.option.Access), access)
os.Setenv("GODADDY_API_KEY", access.ApiKey)
os.Setenv("GODADDY_API_SECRET", access.ApiKey)
os.Setenv("GODADDY_API_SECRET", access.ApiSecret)
dnsProvider, err := godaddyProvider.NewDNSProvider()
if err != nil {