From be625cf36d7f9cf783ab681904ba5c56e37944f8 Mon Sep 17 00:00:00 2001 From: Suryaa <0x0is1@protonmail.com> Date: Thu, 30 Nov 2023 11:00:21 +0530 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cc07016..fc3e4c2 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,7 @@ async function get_sdata() { plot_df(JSON.parse(data[attrib]), attrib, pi); }); } else { - document.querySelector(".message").innerText = data; + document.querySelector(".message").innerText = jsonData.data; } await new Promise((resolve) => setTimeout(resolve, 3000));