Skip to content

Commit

Permalink
fix: add function signature change to new open_docs_rev/3
Browse files Browse the repository at this point in the history
  • Loading branch information
janl committed Dec 16, 2022
1 parent 9db67a9 commit 841bc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/couch/src/couch_db.erl
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ open_doc_revs(Db, IdRevsOpts, Options) when is_list(IdRevsOpts) ->
AllResults = open_doc_revs_int(Db, IdRevs, Options),
% Apply document open options like {atts_since, ...} etc
ResultsZipFun = fun(DocOpts, {ok, Results}) ->
[apply_open_options(R, DocOpts) || R <- Results]
[apply_open_options(Db, R, DocOpts) || R <- Results]
end,
lists:zipwith(ResultsZipFun, DocOptsOnly, AllResults).

Expand Down

0 comments on commit 841bc38

Please sign in to comment.