From 5f5388da6f9ef85c87694cf2e76c6a77384d9e6c Mon Sep 17 00:00:00 2001 From: json Date: Tue, 7 Sep 2021 14:09:53 +0100 Subject: [PATCH] remove unused processSubredditAbout 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 d23e841..5cc64c4 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 processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processSearches = require('../inc/processSearchResults.js')(); const processSubreddit = require('../inc/processJsonSubreddit.js')(); diff --git a/routes/save.js b/routes/save.js index a2c4441..402444c 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 processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processSearches = require('../inc/processSearchResults.js')(); const processSubreddit = require('../inc/processJsonSubreddit.js')(); diff --git a/routes/user.js b/routes/user.js index e21b1c0..7ea8bf8 100644 --- a/routes/user.js +++ b/routes/user.js @@ -3,7 +3,6 @@ const { redis, fetch } = require('../app'); const userRoutes = require('express').Router(); const processJsonUser = require('../inc/processJsonUser.js'); -const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processSearches = require('../inc/processSearchResults.js')(); const processSubreddit = require('../inc/processJsonSubreddit.js')();