diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-06 11:40:38 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 11:18:48 -0400 |
commit | 02767bad6e66b88ebf3e74fbd70ca49a4fbfae5a (patch) | |
tree | b154d7d074ea20fa471bba2173b12ecd2603f3ad /src/chttpd_view.erl | |
parent | a0b4c5dea139fa5829c99de0529b2f7e14bf05a9 (diff) |
rearrange fabric arguments to match couch_btree
Diffstat (limited to 'src/chttpd_view.erl')
-rw-r--r-- | src/chttpd_view.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd_view.erl b/src/chttpd_view.erl index f3376af7..6d29101a 100644 --- a/src/chttpd_view.erl +++ b/src/chttpd_view.erl @@ -37,7 +37,7 @@ design_doc_view(Req, Db, DDoc, ViewName, Keys) -> chttpd:etag_respond(Req, Etag, fun() -> {ok, Resp} = chttpd:start_json_response(Req, 200, [{"Etag",Etag}]), CB = fun view_callback/2, - fabric:query_view(Db, DDoc, ViewName, QueryArgs, CB, {nil, Resp}) + fabric:query_view(Db, DDoc, ViewName, CB, {nil, Resp}, QueryArgs) end). view_callback({total_and_offset, Total, Offset}, {nil, Resp}) -> |