summaryrefslogtreecommitdiff
path: root/src/fabric.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/fabric.erl')
-rw-r--r--src/fabric.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fabric.erl b/src/fabric.erl
index a54264dc..15269bbb 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -1,6 +1,6 @@
-module(fabric).
--export([all_databases/1, create_db/2, delete_db/2, open_db/2, open_doc/4,
+-export([all_databases/1, create_db/2, delete_db/2, open_doc/3, open_doc/4,
get_db_info/2]).
%% maybe this goes away, and these are called directly in their own modules in
@@ -15,8 +15,8 @@ create_db(DbName, Options) ->
delete_db(DbName, Options) ->
fabric_delete:delete_db(DbName, Options).
-open_db(DbName, Options) ->
- fabric_open:open_db(DbName, Options).
+open_doc(Db, DocId, Options) ->
+ fabric_doc:open_doc(Db, DocId, Options).
open_doc(Db, DocId, Revs, Options) ->
fabric_open:open_doc(Db, DocId, Revs, Options).