diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-07 22:24:50 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-07 22:24:50 +0100 |
| commit | 340c3080b38518976c5c833399d8e07a7fc561bf (patch) | |
| tree | a81a5e5e1022557650e71f7f282b9175509c3f6f /lib/router.js | |
| parent | 72ef99ec0666ce0a4d7051a4a7a89c54a86014b8 (diff) | |
show post metadata and thread list
Diffstat (limited to 'lib/router.js')
| -rw-r--r-- | lib/router.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/router.js b/lib/router.js index 66aa1bf..4451a13 100644 --- a/lib/router.js +++ b/lib/router.js @@ -29,13 +29,13 @@ module.exports = function(app){ app.post("/api/login", auth.loggedInLocal) app.get("/api/index", + bucky.ensureLastlog, middleware.ensureAuthenticated, bucky.ensureLatestThreads, bucky.ensureCommentCountsForThreads, bucky.ensureFileCountsForThreads, bucky.ensureKeywordsForThreads, bucky.ensureHootbox, - bucky.ensureLastlog, function(req, res){ res.json({ threads: res.threads, |
