From dd74ba7218d1c2e8f3e082ffd2dc99fb6dc0e2f8 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 22 Nov 2017 11:31:08 -0500 Subject: [PATCH] Res.send not req.send you absolute knucklehead. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }