diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 10:44:47 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 10:44:47 +0100 |
| commit | 8ba7dd3596772238ff1f238e7a94af78e3fe3b29 (patch) | |
| tree | d41398165ba80fca141331619a2ffb3459684d18 /bucky/app/api.js | |
| parent | a239f46aaf924031ea53a95130215a2dd3f4dbd6 (diff) | |
| parent | 37fd2b5287ced2b2beb72d9659addaa58ae2521b (diff) | |
merge
Diffstat (limited to 'bucky/app/api.js')
| -rw-r--r-- | bucky/app/api.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bucky/app/api.js b/bucky/app/api.js index b3540ae..5635ce9 100644 --- a/bucky/app/api.js +++ b/bucky/app/api.js @@ -45,21 +45,13 @@ function route (app){ app.get("/api/index", bucky.ensureLastlog, middleware.ensureAuthenticated, - (req,res,next) => {console.log('uthed'); next()}, bucky.ensureLatestThreads, - (req,res,next) => {console.log('lat'); next()}, bucky.filterPrivateThreads, - (req,res,next) => {console.log('priv'); next()}, bucky.ensureCommentCountsForThreads, - (req,res,next) => {console.log('com'); next()}, bucky.ensureFileCountsForThreads, - (req,res,next) => {console.log('fil'); next()}, bucky.ensureKeywordsForThreads, - (req,res,next) => {console.log('keyz'); next()}, bucky.ensureHootbox, - (req,res,next) => {console.log('hootz'); next()}, bucky.bumpLastSeen, - (req,res,next) => {console.log('done'); next()}, function(req, res){ res.json({ threads: res.threads, |
