diff --git a/index.html b/index.html index 88cf077..6f5ee00 100644 --- a/index.html +++ b/index.html @@ -231,8 +231,8 @@

- Checking whether certificate issued by Authorized Blockchain Issuer ID - FFCpiaZi31TpbYw5q5VNk8qJMeDiTLgsrE + Checking whether certificate issued by Authorized Blockchain Issuer ID + FFCpiaZi31TpbYw5q5VNk8qJMeDiTLgsrE

@@ -240,9 +240,8 @@

- Checking whether certificate was correctly sent to approved Blockchain ID - FKNW5eCCp2SnJMJ6pLLpUCvk5hAage8Jtk, or - FDaX363r1ooANA9A2erhehhigNTnidq3o4 + Checking whether certificate was correctly sent to approved Blockchain ID + FKNW5eCCp2SnJMJ6pLLpUCvk5hAage8Jtk, or FDaX363r1ooANA9A2erhehhigNTnidq3o4

@@ -250,7 +249,7 @@

- Checking whether blockchain data starts with CERTIFICATE OF INTERNSHIP, and + Checking whether blockchain data starts with CERTIFICATE OF INTERNSHIP, and verification link has those words

@@ -278,6 +277,7 @@ floBlockchainAPI.getBalance(floCrypto.generateNewID().floID).then(r => { const [key, value] = window.location.search.substring(1).split('=') console.log(key, value) + if (key === '' && !value) throw new Error("No verification ID found") switch (key) { case "internCertificate": verifyCertificate(value, "RIBC certificate", "CERTIFICATE OF INTERNSHIP"); @@ -295,7 +295,7 @@ } }).catch(e => { console.error(e) - showVerificationStatus('error') + showVerificationStatus('error', e.message) }) }