gandi: add tests

This commit is contained in:
Girish Ramakrishnan
2018-05-07 15:51:51 -07:00
parent b9166b382d
commit 60b5e6f711
2 changed files with 75 additions and 1 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ function del(dnsConfig, zoneName, subdomain, type, values, callback) {
subdomain = subdomain || '@';
debug(`get: ${subdomain} in zone ${zoneName} of type ${type} with values ${JSON.stringify(values)}`);
debug(`del: ${subdomain} in zone ${zoneName} of type ${type} with values ${JSON.stringify(values)}`);
superagent.del(`${GANDI_API}/domains/${zoneName}/records/${subdomain}/${type}`)
.set('X-Api-Key', dnsConfig.token)