diff --git a/functions/decrypt.js b/functions/decrypt.js index 59e0182..f801d44 100644 --- a/functions/decrypt.js +++ b/functions/decrypt.js @@ -12,7 +12,7 @@ const { Buffer } = require("buffer"); * @returns */ const decrypt = ({ encryptedString, encryptionKey, encryptionSalt }) => { - if (!encryptedString?.match(/.}/)) { + if (!encryptedString?.match(/./)) { console.log("Encrypted string is invalid"); console.log("Encrypted string =>", encryptedString); return encryptedString; diff --git a/package.json b/package.json index adc00e6..b0467b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.6.7", + "version": "1.6.8", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": {