From 0859091a11d28dfae483bdbf9b85da83a5e21806 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 18 Jul 2012 10:43:43 +0200 Subject: o Removing arguments that's not available. --- routes/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'routes') diff --git a/routes/index.js b/routes/index.js index af06e4a..b7ec0c4 100644 --- a/routes/index.js +++ b/routes/index.js @@ -91,7 +91,7 @@ exports.delete = function(req, res) { var body = ''; httpResponse.on('data', function (chunk) { body += chunk; - }).on('end', function (chunk) { + }).on('end', function () { done(undefined, { statusCode: httpResponse.statusCode, status: '', @@ -137,7 +137,7 @@ exports.write = function(req, res) { var body = ''; httpResponse.on('data', function (chunk) { body += chunk; - }).on('end', function (chunk) { + }).on('end', function () { done(undefined, { statusCode: httpResponse.statusCode, status: '', @@ -191,7 +191,7 @@ function fetchCollection(u, cb) { res.on('data', function (chunk) { body += chunk; }); - res.on('end', function (chunk) { + res.on('end', function () { cb(undefined, { statusCode: res.statusCode, status: '', -- cgit v1.2.3