Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Ensure fetch params is optional, fixes #319.
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Mar 26, 2016
1 parent 188f2b3 commit e9267c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/nano.js
Expand Up @@ -60,7 +60,7 @@ module.exports = exports = nano = function dbScope(cfg) {
return db;
}
}

function scrub(str) {
if (str) {
str = str.replace(/\/\/(.*)@/,"//XXXXXX:XXXXXX@");
Expand Down Expand Up @@ -466,6 +466,7 @@ module.exports = exports = nano = function dbScope(cfg) {
qs = {};
}

qs = qs || {};
qs['include_docs'] = true;

return relax({
Expand Down

0 comments on commit e9267c5

Please sign in to comment.