bugfixes
This commit is contained in:
parent
ce52a76f19
commit
9b84d88a8c
|
@ -107,7 +107,7 @@ function writeCertificateAsync(result, args, defaults, handlers) {
|
|||
// TODO XXX end
|
||||
// yes, it's an array. weird, right?
|
||||
, webrootPath: args.webrootPath && [args.webrootPath] || []
|
||||
, account: account.accountId
|
||||
, account: args.account.accountId
|
||||
, server: args.server || args.acmeDiscoveryUrl
|
||||
, logsDir: args.logsDir
|
||||
};
|
||||
|
@ -209,7 +209,7 @@ function getCertificateAsync(account, args, defaults, handlers) {
|
|||
}
|
||||
});
|
||||
}).then(function (results) {
|
||||
writeCertificateAsync(results, args, defaults, handlers);
|
||||
return writeCertificateAsync(results, args, defaults, handlers);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue