From 93f70533aaa0562c503aea8f4726e72674d869c9 Mon Sep 17 00:00:00 2001 From: json Date: Tue, 7 Sep 2021 13:42:45 +0100 Subject: [PATCH] remove unused processJsonPost functions --- 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 40d78fe..d23e841 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 processPost = require('../inc/processJsonPost.js')(); const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processSearches = require('../inc/processSearchResults.js')(); diff --git a/routes/save.js b/routes/save.js index b43ee77..a2c4441 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 processPost = require('../inc/processJsonPost.js')(); const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processSearches = require('../inc/processSearchResults.js')(); diff --git a/routes/user.js b/routes/user.js index e57889a..e21b1c0 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 processPost = require('../inc/processJsonPost.js')(); const processAbout = require('../inc/processSubredditAbout.js')(); const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processSearches = require('../inc/processSearchResults.js')();