diff --git a/index.js b/index.js index 4c817e7..175a589 100644 --- a/index.js +++ b/index.js @@ -154,7 +154,7 @@ function rCounter (req, res, next) { counter = intval._state.counter } log.info('/counter', { method : req.method, set : set, counter : counter }) - req.send({ counter : counter }) + res.send({ counter : counter }) return next() }