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 Nov 12, 2022
1 parent ba0f0f5 commit cd3bf98
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 @@ -381,7 +381,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 cd3bf98

Please sign in to comment.