summaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/index.js6
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: '',