formatting

This commit is contained in:
AJ ONeal 2016-08-09 19:00:40 -06:00 committed by GitHub
parent bc482028b7
commit 4a94dbdf0b
1 changed files with 3 additions and 2 deletions

View File

@ -63,8 +63,9 @@ var le = require('letsencrypt').create({ server: 'staging' });
le.register({ le.register({
domains: ['example.com'], email: 'user@email.com', agreeTos: true domains: ['example.com'], email: 'user@email.com', agreeTos: true
}).then(function (results) { }).then(function (certs) {
console.log(results); // privkey, cert, chain, expiresAt, issuedAt, subject, altnames
console.log(certs);
}, function (err) { }, function (err) {
console.error(err); console.error(err);
}); });