From d1ef359435921bba4e38bc256f06d7008e279b8c Mon Sep 17 00:00:00 2001 From: json Date: Tue, 7 Sep 2021 13:19:28 +0100 Subject: [PATCH] remove unused processJsonUser function --- routes/home.js | 1 - routes/save.js | 1 - routes/subreddit.js | 1 - 3 files changed, 3 deletions(-) diff --git a/routes/home.js b/routes/home.js index ceb5800..40d78fe 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 processUser = require('../inc/processJsonUser.js')(); const processPost = require('../inc/processJsonPost.js')(); const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); diff --git a/routes/save.js b/routes/save.js index 6a8cdbf..b43ee77 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 processUser = require('../inc/processJsonUser.js')(); const processPost = require('../inc/processJsonPost.js')(); const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); diff --git a/routes/subreddit.js b/routes/subreddit.js index a8830dc..2a357af 100644 --- a/routes/subreddit.js +++ b/routes/subreddit.js @@ -2,7 +2,6 @@ const config = require('../config'); const { redis, fetch, RedditAPI } = require('../app'); const subredditRoutes = require('express').Router(); -const processUser = require('../inc/processJsonUser.js')(); const processPost = require('../inc/processJsonPost.js')(); const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')();