From 06fe52f460a835a4d833cf7f98a26c98ba944f29 Mon Sep 17 00:00:00 2001 From: Mashintime Date: Sat, 4 Feb 2023 22:48:20 -0500 Subject: [PATCH] More btoa/atob fixes --- gui/sock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/sock.js b/gui/sock.js index 95ea86e0..7583981d 100644 --- a/gui/sock.js +++ b/gui/sock.js @@ -650,7 +650,7 @@ ipcRenderer.on('action-update-tnc-ip', (event, arg) => { * @returns base64 encoded string */ function btoa_FD(data) { - return Buffer.from(this.data,'utf-8').toString('base64'); + return Buffer.from(data,'utf-8').toString('base64'); } /** * base64 to string