fixing typo in return value
This commit is contained in:
parent
bf1f349ab1
commit
f07bee361e
4
bot.js
4
bot.js
@ -34,7 +34,7 @@ async function postFeed() {
|
||||
let postDate = new Date(timeline.data[0].created_at);
|
||||
|
||||
let count = 0;
|
||||
await Promise.all(
|
||||
let feedResults = await Promise.all(
|
||||
feed.items.every(async (item) => {
|
||||
let pubDate = new Date(item.pubDate);
|
||||
|
||||
@ -53,5 +53,5 @@ async function postFeed() {
|
||||
})
|
||||
);
|
||||
|
||||
return true;
|
||||
return feedResults;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user