Upgrades
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user