From a6b959946318a62b8bec550e9590f5915fd8a7b2 Mon Sep 17 00:00:00 2001 From: teddit Date: Thu, 9 Sep 2021 18:25:20 +0200 Subject: [PATCH] fix including processMoreComments() --- routes/subreddit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/subreddit.js b/routes/subreddit.js index e6efad2..d2239d1 100644 --- a/routes/subreddit.js +++ b/routes/subreddit.js @@ -10,7 +10,7 @@ const processSubredditAbout = require('../inc/processSubredditAbout.js'); const processSearchResults = require('../inc/processSearchResults.js'); const processJsonSubreddit = require('../inc/processJsonSubreddit.js'); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); -const processMoreComments = require('../inc/processMoreComments.js')(); +const processMoreComments = require('../inc/processMoreComments.js'); const processJsonSubredditsExplore = require('../inc/processSubredditsExplore.js'); subredditRoutes.get('/r/:subreddit/search', (req, res, next) => {