This commit is contained in:
Skylar Grant 2025-01-04 10:55:14 -05:00
parent 24c5f2d62e
commit 914b7895b2

View File

@ -49,11 +49,11 @@ async function readResponse(response) {
} }
for (let i = 0; i < JSONResponse.length; i++) { for (let i = 0; i < JSONResponse.length; i++) {
const JSONline = JSONResponse[i]; const JSONline = JSONResponse[i];
if (JSONline.text) { if (JSONline.response) {
cleanResponse.push(JSONline.response); cleanResponse.push(JSONline.response);
} }
} }
console.log(cleanResponse); console.log(cleanResponse.join(''));
return; return;
} }
read(); read();