diff --git a/index.js b/index.js index b83b84d..5888984 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ module.exports = { //set the interval function to check the feed intervalFunc = () => { Feed.check((err, articles) => { - Links.validate(err, articles, Actions.post); + Links.validate(err, articles, (latestLink) => Actions.post(bot, latestLink)); }); };