diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-07-18 10:43:43 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-07-18 10:43:43 +0200 |
commit | 0859091a11d28dfae483bdbf9b85da83a5e21806 (patch) | |
tree | ed7aa7e712a397020bf7d81c8b4a02165f29b95a /routes | |
parent | 99ba1b820480189ac00f791ae7c50d0711943e1a (diff) | |
download | collection-json-explorer-0859091a11d28dfae483bdbf9b85da83a5e21806.tar.gz collection-json-explorer-0859091a11d28dfae483bdbf9b85da83a5e21806.tar.bz2 collection-json-explorer-0859091a11d28dfae483bdbf9b85da83a5e21806.tar.xz collection-json-explorer-0859091a11d28dfae483bdbf9b85da83a5e21806.zip |
o Removing arguments that's not available.
Diffstat (limited to 'routes')
-rw-r--r-- | routes/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
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: '', |