Skip to content

Commit 6965e51

Browse files
committed
add reference to server in doc scope
1 parent 596e9d1 commit 6965e51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/nano.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = exports = nano = function dbScope(cfg) {
6060
return db;
6161
}
6262
}
63-
63+
6464
function scrub(str) {
6565
if (str) {
6666
str = str.replace(/\/\/(.*)@/,"//XXXXXX:XXXXXX@");
@@ -729,7 +729,8 @@ module.exports = exports = nano = function dbScope(cfg) {
729729
search: viewSearch,
730730
spatial: viewSpatial,
731731
view: viewDocs,
732-
viewWithList: viewWithList
732+
viewWithList: viewWithList,
733+
server: serverScope
733734
};
734735

735736
docScope.view.compact = function(ddoc, cb) {

0 commit comments

Comments
 (0)