Fix link posting not actually receiving message to post

This commit is contained in:
benji7425 2017-04-22 22:49:46 +01:00
parent e0ecf01941
commit d2d729b9c4
1 changed files with 1 additions and 1 deletions

View File

@ -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));
});
};