From 0bf3e36c56cb8dce890c29ba5c322e76ff7209ae Mon Sep 17 00:00:00 2001 From: json Date: Wed, 8 Sep 2021 11:46:42 +0100 Subject: [PATCH] remove unused processSearchResults function --- routes/home.js | 1 - routes/save.js | 1 - routes/user.js | 1 - 3 files changed, 3 deletions(-) diff --git a/routes/home.js b/routes/home.js index a8f1d52..b0b5636 100644 --- a/routes/home.js +++ b/routes/home.js @@ -2,7 +2,6 @@ const config = require('../config'); const { redis, fetch } = require('../app'); const homeRoute = require('express').Router(); -const processSearches = require('../inc/processSearchResults.js')(); const processSubreddit = require('../inc/processJsonSubreddit.js')(); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); const processMoreComments = require('../inc/processMoreComments.js')(); diff --git a/routes/save.js b/routes/save.js index f068351..d5bc4cf 100644 --- a/routes/save.js +++ b/routes/save.js @@ -2,7 +2,6 @@ const config = require('../config'); const { redis, fetch } = require('../app'); const saveRoutes = require('express').Router(); -const processSearches = require('../inc/processSearchResults.js')(); const processSubreddit = require('../inc/processJsonSubreddit.js')(); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); const processMoreComments = require('../inc/processMoreComments.js')(); diff --git a/routes/user.js b/routes/user.js index 7ea8bf8..25eb2b0 100644 --- a/routes/user.js +++ b/routes/user.js @@ -4,7 +4,6 @@ const userRoutes = require('express').Router(); const processJsonUser = require('../inc/processJsonUser.js'); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); -const processSearches = require('../inc/processSearchResults.js')(); const processSubreddit = require('../inc/processJsonSubreddit.js')(); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); const processMoreComments = require('../inc/processMoreComments.js')();