From 914b7895b24f5d3dfdb0adaeb1b12e09c7b88758 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 4 Jan 2025 10:55:14 -0500 Subject: [PATCH] ? --- src/assets/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/js/main.js b/src/assets/js/main.js index 9783c12..3f4ba6e 100644 --- a/src/assets/js/main.js +++ b/src/assets/js/main.js @@ -49,11 +49,11 @@ async function readResponse(response) { } for (let i = 0; i < JSONResponse.length; i++) { const JSONline = JSONResponse[i]; - if (JSONline.text) { + if (JSONline.response) { cleanResponse.push(JSONline.response); } } - console.log(cleanResponse); + console.log(cleanResponse.join('')); return; } read();