diff --git a/feed-bot.js b/feed-bot.js index 16bdc84..b3eca88 100644 --- a/feed-bot.js +++ b/feed-bot.js @@ -136,7 +136,7 @@ var Links = { } //store the new link if not stored already - if (!Links.cached.includes(link)) { + if (!Links.checkCache(link)) { Links.cached.push(link); Log.info("Cached URL: " + link); }