This commit is contained in:
AJ ONeal 2015-12-20 02:10:10 +00:00
parent ce52a76f19
commit 9b84d88a8c
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ function writeCertificateAsync(result, args, defaults, handlers) {
// TODO XXX end // TODO XXX end
// yes, it's an array. weird, right? // yes, it's an array. weird, right?
, webrootPath: args.webrootPath && [args.webrootPath] || [] , webrootPath: args.webrootPath && [args.webrootPath] || []
, account: account.accountId , account: args.account.accountId
, server: args.server || args.acmeDiscoveryUrl , server: args.server || args.acmeDiscoveryUrl
, logsDir: args.logsDir , logsDir: args.logsDir
}; };
@ -209,7 +209,7 @@ function getCertificateAsync(account, args, defaults, handlers) {
} }
}); });
}).then(function (results) { }).then(function (results) {
writeCertificateAsync(results, args, defaults, handlers); return writeCertificateAsync(results, args, defaults, handlers);
}); });
} }