You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by to...@apache.org on 2015/09/10 02:34:19 UTC

[17/26] couchdb-mango git commit: Request an EJSON body when opening documents

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/master
Commit: 8d496c1e8c9b790722385d3af53670999fb99b58
Parents: b2f62f1
Author: Tony Sun <to...@cloudant.com>
Authored: Wed Aug 26 09:35:34 2015 -0700
Committer: Tony Sun <to...@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) ->