diff options
author | iilyak <iilyak@users.noreply.github.com> | 2020-04-10 07:36:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 07:36:32 -0700 |
commit | aad871b36d32f0d2e4a1a51a0552bb5cf6a5b199 (patch) | |
tree | 133b9ff0377993ef5cda7a12ffb2e3deaea1f494 | |
parent | cbad08d5fa4308fa9d243bae8eabd4872eaa5837 (diff) | |
parent | 2bb0ccda2935c028b4fe7fc8edd28f0d1a7febf8 (diff) | |
download | couchdb-aad871b36d32f0d2e4a1a51a0552bb5cf6a5b199.tar.gz |
Merge pull request #2775 from cloudant/mango-plugin-fixup
Fix incorrect usage of couch_epi in mango plugin
-rw-r--r-- | src/mango/src/mango_plugin.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mango/src/mango_plugin.erl b/src/mango/src/mango_plugin.erl index 296a35419..de23f8e7c 100644 --- a/src/mango/src/mango_plugin.erl +++ b/src/mango/src/mango_plugin.erl @@ -24,11 +24,14 @@ %% ------------------------------------------------------------------ before_find(HttpReq0) -> - with_pipe(before_find, [HttpReq0]). + [HttpReq1] = with_pipe(before_find, [HttpReq0]), + {ok, HttpReq1}. after_find(HttpReq, HttpResp, Arg0) -> - with_pipe(after_find, [HttpReq, HttpResp, Arg0]). + [_HttpReq, _HttpResp, Arg1] = with_pipe(after_find, [HttpReq, HttpResp, Arg0]), + {ok, Arg1}. + %% ------------------------------------------------------------------ %% Internal Function Definitions |