fixing typo in return value
This commit is contained in:
parent
f07bee361e
commit
0df54e58b4
6
bot.js
6
bot.js
@ -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;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user