2
0
mirror of https://github.com/therootcompany/greenlock.js.git synced 2025-03-06 00:30:41 +00:00
This commit is contained in:
AJ ONeal 2015-12-20 02:10:10 +00:00
parent ce52a76f19
commit 9b84d88a8c

View File

@ -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);
});
}