From 59e07a03a870397a461516fc05548becb4aace93 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 5 Feb 2017 18:38:20 -0800 Subject: [PATCH] set type to 'http' to invoke http-ish behavior --- lib/writable-stream.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/writable-stream.js b/lib/writable-stream.js index 31df6eb..139e709 100644 --- a/lib/writable-stream.js +++ b/lib/writable-stream.js @@ -28,7 +28,8 @@ function WritableStreamPouch(opts, callback) { /* istanbul ignore next */ api.type = function () { - return 'writableStream'; + // see https://github.com/pouchdb/pouchdb/issues/6106 + return 'http'; }; api._id = utils.toPromise(function (callback) {