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();