From 8208aeca449ca5ed68ff7690348b8dca5610f90b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Tue, 30 Jul 2024 17:43:42 +0200 Subject: [PATCH] chore: want login --- dist/index.js | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);