diff --git a/dist/index.js b/dist/index.js index 9c53b8a..f088362 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45403,7 +45403,7 @@ try { format: "html" } })).data.filter((i) => i.user?.type === "Bot"); - console.log(comment2[0].user?.name); + console.log(comment2[0].user?.login); if (comment2.length === 0) break; console.log(comment2.length); diff --git a/src/index.ts b/src/index.ts index 9651e53..a541d2a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -135,7 +135,7 @@ try { ).data.filter( (i) => i.user?.type === "Bot", ); - console.log(comment[0].user?.name) + console.log(comment[0].user?.login) if (comment.length === 0) break; // not a Freelo task, skip console.log(comment.length); console.log(comment[0].body_html);