fixing typo in return value

This commit is contained in:
Michael (GP) 2022-12-08 00:04:29 -05:00
parent f07bee361e
commit 0df54e58b4

6
bot.js
View File

@ -43,13 +43,13 @@ async function postFeed() {
if (count > maxPostPerScan) return false; 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}`, status: `${item.title}\n\n#NeoVibe #${process.env.POST_HASHTAG}\n\n${item.link}`,
}); });
return true; return posts;
} }
return true; return false;
}) })
); );