add back getCert

This commit is contained in:
AJ ONeal 2015-12-15 14:35:58 +00:00
parent 64f1b71b4f
commit 9de9c90061
1 changed files with 4 additions and 1 deletions

View File

@ -10,5 +10,8 @@
exports.Acme = require('acme-client');
exports.registerNewAccount = require('register-new-account');
exports.getCertificate = require('get-certificate');
exports.getCert=function (options) {
exports.getCert=function (options, cb) {
exports.registerNewAccount(options, function () {
exports.getCertificate(options, cb);
});
};