mirror of
https://git.coolaj86.com/coolaj86/acme-dns-01-cli.js
synced 2025-04-21 21:30:38 +00:00
fix error
This commit is contained in:
parent
714027f88b
commit
26dcf0b6d1
4
index.js
4
index.js
@ -181,8 +181,8 @@ Challenge.test = function (args, domain, challenge, keyAuthorization, done) {
|
|||||||
err = new Error("txt record '" + challenge + "' doesn't match '" + k + "'");
|
err = new Error("txt record '" + challenge + "' doesn't match '" + k + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
me.remove(defaults, domain, challenge, function (err) {
|
me.remove(defaults, domain, challenge, function (_err) {
|
||||||
if (err) { done(err); return; }
|
if (_err) { done(_err); return; }
|
||||||
|
|
||||||
// TODO needs to use native-dns so that specific nameservers can be used
|
// TODO needs to use native-dns so that specific nameservers can be used
|
||||||
// (otherwise the cache will still have the old answer)
|
// (otherwise the cache will still have the old answer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user