From 8238af5aa51022baa99631bc6c2f931064e2dc07 Mon Sep 17 00:00:00 2001 From: Dominic Barnes Date: Sat, 22 Oct 2016 20:53:52 -0700 Subject: [PATCH] add reference to server in doc scope --- lib/nano.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/nano.js b/lib/nano.js index 81d12d78..2dfd56bc 100644 --- a/lib/nano.js +++ b/lib/nano.js @@ -740,7 +740,8 @@ module.exports = exports = nano = function dbScope(cfg) { search: viewSearch, spatial: viewSpatial, view: viewDocs, - viewWithList: viewWithList + viewWithList: viewWithList, + server: serverScope }; docScope.view.compact = function(ddoc, cb) {