summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2014-08-29 12:49:30 +0100
committerRobert Newson <rnewson@apache.org>2014-08-29 12:49:30 +0100
commit4b44ebc8366701076e0b1b3aa31a059df714e0a3 (patch)
tree13be4a11ed6db18df6bbc1c31f2d9bb6abc17f4b
parent551732040b2b146cf9f41817a195d1a53b049363 (diff)
downloadcouchdb-4b44ebc8366701076e0b1b3aa31a059df714e0a3.tar.gz
fix requestStats
-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 122db758c..31b3830b1 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -440,7 +440,7 @@ CouchDB.requestStats = function(module, key, test) {
var url = "/_stats/" + module + "/" + key + query_arg;
var stat = CouchDB.request("GET", url).responseText;
- return JSON.parse(stat)[module][key];
+ return JSON.parse(stat);
};
CouchDB.uuids_cache = [];