From bea0fc97237eaf5100d01a86fbe8000a532e792a Mon Sep 17 00:00:00 2001 From: cool-guy-dev <116984615+cool-dev-guy@users.noreply.github.com> Date: Sun, 1 Oct 2023 21:34:10 +0530 Subject: [PATCH] Update encryption.js --- encryption/encryption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encryption/encryption.js b/encryption/encryption.js index 84a13c5..5e8df90 100644 --- a/encryption/encryption.js +++ b/encryption/encryption.js @@ -142,7 +142,7 @@ async function createMessageObject(message) { const _Encrypted_msg = await encryptMessage('default', `https://cool-dev-guy.github.io/link-encrypted-text/?text=${message}`); // console.log(_Encrypted_msg) const code = await createMessageURI(_Encrypted_msg); - console.log('Code:', code); + return code; } catch (error) { console.error('Error:', error); }