diff options
Diffstat (limited to 'src/routes/index.js')
-rw-r--r-- | src/routes/index.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/routes/index.js b/src/routes/index.js index 5f43764..cef05da 100644 --- a/src/routes/index.js +++ b/src/routes/index.js | |||
@@ -21,8 +21,6 @@ router.get('/r/:subreddit/:sort?', async (req, res) => { | |||
21 | var aboutReq = G.getSubreddit(`${subreddit}`); | 21 | var aboutReq = G.getSubreddit(`${subreddit}`); |
22 | 22 | ||
23 | var [posts, about] = await Promise.all([postsReq, aboutReq]); | 23 | var [posts, about] = await Promise.all([postsReq, aboutReq]); |
24 | console.log(`posts for ${subreddit}`); | ||
25 | console.log(posts.posts.length); | ||
26 | 24 | ||
27 | res.render('index', { subreddit, posts, about }); | 25 | res.render('index', { subreddit, posts, about }); |
28 | }); | 26 | }); |