diff --git a/html/search.html b/html/search.html index 5fd5f93..afd373d 100644 --- a/html/search.html +++ b/html/search.html @@ -119,7 +119,7 @@ diff --git a/js/common.js b/js/common.js index 35f4c49..5e3706b 100644 --- a/js/common.js +++ b/js/common.js @@ -81,13 +81,13 @@ function objectToQueryString(obj = {}) { return queryString ? "?" + queryString : "" } -function decodeKey(encrypted) { +function decodeKey(encrypted,key) { return new Promise((resolve, reject) => { try { const storedData = localStorage.getItem("basicData") const basicData = JSON.parse(storedData) console.log("basicData", basicData) - const key = basicData.encodekey + // const key = basicData.encodekey console.log("encodekey", key) const encryptedData = CryptoJS.enc.Base64.parse(encrypted)