From 841bc3830f5ef49c29284a8ef1a8112ca3cbd534 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sat, 12 Nov 2022 08:25:53 +0100 Subject: [PATCH] fix: add function signature change to new open_docs_rev/3 --- src/couch/src/couch_db.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couch/src/couch_db.erl b/src/couch/src/couch_db.erl index 919b4190347..fc3e6a02879 100644 --- a/src/couch/src/couch_db.erl +++ b/src/couch/src/couch_db.erl @@ -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).