summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index d1cff6c1..847467d4 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -218,6 +218,6 @@ CouchDB.request = function(method, uri, options) {
req.setRequestHeader(headerName, headers[headerName]);
}
}
- req.send(options.body || null);
+ req.send(options.body || "");
return req;
}