1
0
şunun yansıması https://github.com/therootcompany/greenlock.js.git eşitlendi 2024-11-16 17:29:00 +00:00

don't attach info to null cert

Bu işleme şunda yer alıyor:
AJ ONeal 2016-08-08 20:26:46 -04:00
ebeveyn c3f6bebe2b
işleme 0f87922cdf

Dosyayı Görüntüle

@ -257,17 +257,26 @@ module.exports.create = function (le) {
});
});
}
// Certificates
, renewAsync: function (args) {
// TODO fetch email address if not present
// TODO fetch email address (accountBydomain) if not present
return core.certificates.registerAsync(args);
}
// Certificates
, checkAsync: function (args) {
var copy = utils.merge(args, le);
utils.tplCopy(copy);
// returns pems
return le.store.certificates.checkAsync(copy).then(utils.attachCertInfo);
return le.store.certificates.checkAsync(copy).then(function (cert) {
if (cert) {
return utils.attachCertInfo(cert);
}
return null;
});
}
// Certificates
, getAsync: function (args) {
var copy = utils.merge(args, le);
args = utils.tplCopy(copy);