You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ei...@apache.org on 2021/02/17 20:50:54 UTC
[couchdb] 01/02: Use updated json_req_obj function in changes
custom filter
This is an automated email from the ASF dual-hosted git repository.
eiri pushed a commit to branch 3087-read-body-on-post-to-changes
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 0805b99699388a02943877ddb2da8f3229e089a1
Author: Eric Avdey <ei...@eiri.ca>
AuthorDate: Wed Feb 17 16:49:27 2021 -0400
Use updated json_req_obj function in changes custom filter
---
src/couch/src/couch_changes.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/couch/src/couch_changes.erl b/src/couch/src/couch_changes.erl
index 6e9294a..41b1321 100644
--- a/src/couch/src/couch_changes.erl
+++ b/src/couch/src/couch_changes.erl
@@ -238,7 +238,7 @@ filter(Db, DocInfo, {view, Style, DDoc, VName}) ->
filter(Db, DocInfo, {custom, Style, Req0, DDoc, FName}) ->
Req = case Req0 of
{json_req, _} -> Req0;
- #httpd{} -> {json_req, couch_httpd_external:json_req_obj(Req0, Db)}
+ #httpd{} -> {json_req, chttpd_external:json_req_obj(Req0, Db)}
end,
Docs = open_revs(Db, DocInfo, Style),
{ok, Passes} = couch_query_servers:filter_docs(Req, Db, DDoc, FName, Docs),