From fa0c529a52ca8430f699a1915c92b1db99cd48cc Mon Sep 17 00:00:00 2001 From: benji7425 Date: Fri, 30 Dec 2016 15:45:57 +0000 Subject: [PATCH] Updated cache function to use checkCache function when checking cache --- feed-bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }