v1.7.2: don't set challenge twice

This commit is contained in:
AJ ONeal 2019-04-02 19:25:41 -06:00
parent 6521121548
commit 1195956ce1
2 changed files with 2 additions and 2 deletions

View File

@ -541,7 +541,7 @@ ACME._postChallenge = function (me, options, auth) {
});
}
return ACME._setChallenge(me, options, auth).then(respondToChallenge);
return respondToChallenge();
};
ACME._setChallenge = function (me, options, auth) {
return new Promise(function (resolve, reject) {

View File

@ -1,6 +1,6 @@
{
"name": "acme-v2",
"version": "1.7.1",
"version": "1.7.2",
"description": "Free SSL. A framework for building Let's Encrypt v2 clients, and other ACME v2 (draft 11) clients. Successor to le-acme-core.js",
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
"main": "node.js",