Skip to content

Commit 18a2bba

Browse files
committed
Merge pull request #48 from AnyFetch/status
Update /status
2 parents 3feb8a5 + 90ac6e3 commit 18a2bba

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/handlers/status.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = function(req, res, server, next) {
1818
return next(err);
1919
}
2020
else {
21+
delete stats.total;
2122
stats.status = 'ok';
2223
res.send(stats);
2324
next();

test/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ describe('GET /status', function() {
8181
res.body.should.have.property('status', 'ok');
8282
res.body.should.have.property('pending');
8383
res.body.should.have.property('processing');
84-
res.body.should.have.property('total');
8584
}
8685
catch(err) {
8786
return done(err);

0 commit comments

Comments
 (0)