From 0df54e58b40e1a089b933d4400a8001b2cd43e42 Mon Sep 17 00:00:00 2001 From: "Michael (GP)" Date: Thu, 8 Dec 2022 00:04:29 -0500 Subject: [PATCH] fixing typo in return value --- bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.js b/bot.js index 3fc6f5b..36778ca 100644 --- a/bot.js +++ b/bot.js @@ -43,13 +43,13 @@ async function postFeed() { if (count > maxPostPerScan) return false; - await M.post("statuses", { + let posts = await M.post("statuses", { status: `${item.title}\n\n#NeoVibe #${process.env.POST_HASHTAG}\n\n${item.link}`, }); - return true; + return posts; } - return true; + return false; }) );