You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/29 14:40:39 UTC
[2/3] couchdb commit: updated refs/heads/master to 13fa1e3
fix requestStats
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4b44ebc8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4b44ebc8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4b44ebc8
Branch: refs/heads/master
Commit: 4b44ebc8366701076e0b1b3aa31a059df714e0a3
Parents: 5517320
Author: Robert Newson <rn...@apache.org>
Authored: Fri Aug 29 12:49:30 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Aug 29 12:49:30 2014 +0100
----------------------------------------------------------------------
share/www/script/couch.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/4b44ebc8/share/www/script/couch.js
----------------------------------------------------------------------
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index 122db75..31b3830 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 = [];