From b5b516a131383a000f6c366fa79fca8ad3536b20 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 1 Aug 2016 21:47:48 -0400 Subject: [PATCH] update comments --- README.md | 2 +- lib/get-certificate.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 30762c8..8eebda8 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ LeCore.registerNewAccount(options, cb) // returns "regr" registration dat } // Registration -LeCore.getCertificate(options, cb) // returns (err, pems={ key, cert, ca }) +LeCore.getCertificate(options, cb) // returns (err, pems={ privkey (key), cert, chain (ca) }) { newAuthzUrl: '' // specify acmeUrls.newAuthz , newCertUrl: '' // specify acmeUrls.newCert diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 64a05fe..eaf9e6f 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -22,6 +22,7 @@ module.exports.create = function (deps) { var Acme = deps.Acme; var RSA = deps.RSA; + // getCertificate // returns "pems", meaning "certs" function getCert(options, cb) { function bodyToError(res, body) {