diff --git a/lib/handlers/status.js b/lib/handlers/status.js index e872792..f946072 100644 --- a/lib/handlers/status.js +++ b/lib/handlers/status.js @@ -18,6 +18,7 @@ module.exports = function(req, res, server, next) { return next(err); } else { + delete stats.total; stats.status = 'ok'; res.send(stats); next(); diff --git a/test/index.js b/test/index.js index 6520cc6..58dd642 100644 --- a/test/index.js +++ b/test/index.js @@ -81,7 +81,6 @@ describe('GET /status', function() { res.body.should.have.property('status', 'ok'); res.body.should.have.property('pending'); res.body.should.have.property('processing'); - res.body.should.have.property('total'); } catch(err) { return done(err);