diff --git a/examples/script-tag/public/cert-list.js b/examples/script-tag/public/cert-list.js index 708d986..86a2d24 100644 --- a/examples/script-tag/public/cert-list.js +++ b/examples/script-tag/public/cert-list.js @@ -16,7 +16,7 @@ $certificateDetails.style.display = thumbprint ? 'block' : 'none'; }); - window.cryptoPro.getUserCertificates().then(function (certificateList) { + window.cryptoPro.getCertificates().then(function (certificateList) { certificateList.forEach(function (certificate) { var $certOption = document.createElement('option');