diff options
author | Robert Newson <rnewson@apache.org> | 2014-08-29 12:49:30 +0100 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2014-08-29 12:49:30 +0100 |
commit | 4b44ebc8366701076e0b1b3aa31a059df714e0a3 (patch) | |
tree | 13be4a11ed6db18df6bbc1c31f2d9bb6abc17f4b /share | |
parent | 551732040b2b146cf9f41817a195d1a53b049363 (diff) | |
download | couchdb-4b44ebc8366701076e0b1b3aa31a059df714e0a3.tar.gz |
fix requestStats
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/couch.js | 2 |
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 = []; |