Request an EJSON body when opening documents

Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/8d496c1e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/8d496c1e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mango/diff/8d496c1e

Branch: refs/heads/2787-merge-repos
Commit: 8d496c1e8c9b790722385d3af53670999fb99b58
Parents: b2f62f1
Author: Tony Sun <tony....@cloudant.com>
Authored: Wed Aug 26 09:35:34 2015 -0700
Committer: Tony Sun <tony....@cloudant.com>
Committed: Wed Aug 26 09:35:34 2015 -0700

----------------------------------------------------------------------
 src/mango_util.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/8d496c1e/src/mango_util.erl
----------------------------------------------------------------------
diff --git a/src/mango_util.erl b/src/mango_util.erl
index 6b150e7..94265cd 100644
--- a/src/mango_util.erl
+++ b/src/mango_util.erl
@@ -80,7 +80,7 @@
 
 
 open_doc(Db, DocId) ->
-    open_doc(Db, DocId, [deleted]).
+    open_doc(Db, DocId, [deleted, ejson_body]).
 
 
 open_doc(Db, DocId, Options) ->

Reply via email to