Skip to content

Commit

Permalink
all binary for docid. maybe I should extend this to DbName too ?
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Jul 30, 2009
1 parent a97ad73 commit 31edf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/couchbeam.erl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ is_db(NodeName, DbName) ->
%% @spec open_doc(NodeName::atom()|node_info(), DbName::string(), DocId::string()) -> json_object()
%% @doc open a doc with DocID
open_doc(NodeName, DbName, DocId) ->
open_doc(NodeName, DbName, DocId, nil).
open_doc(NodeName, DbName, encode_docid(DocId), nil).

%% @spec open_doc(NodeName::atom()|node_info(), DbName::string(), DocId::string(), Rev::string()) -> json_object()
%% @doc open a doc with DocId for specific revision
Expand Down

0 comments on commit 31edf64

Please sign in to comment.