Skip to content

Commit 5f16384

Browse files
committed
Refactor Args -> QueryArgs
1 parent a662288 commit 5f16384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/chttpd/src/chttpd_show.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ handle_view_list(Req, Db, DDoc, LName, {ViewDesignName, ViewName}, Keys) ->
204204
DbName = couch_db:name(Db),
205205
{ok, VDoc} = ddoc_cache:open(DbName, <<"_design/", ViewDesignName/binary>>),
206206
CB = fun list_cb/2,
207-
Args = couch_mrview_http:parse_body_and_query(Req, Keys),
207+
QueryArgs = couch_mrview_http:parse_body_and_query(Req, Keys),
208208
Options = [{user_ctx, Req#httpd.user_ctx}],
209209
couch_query_servers:with_ddoc_proc(DDoc, fun(QServer) ->
210210
Acc = #lacc{
@@ -215,10 +215,10 @@ handle_view_list(Req, Db, DDoc, LName, {ViewDesignName, ViewName}, Keys) ->
215215
},
216216
case ViewName of
217217
<<"_all_docs">> ->
218-
fabric:all_docs(Db, Options, CB, Acc, Args);
218+
fabric:all_docs(Db, Options, CB, Acc, QueryArgs);
219219
_ ->
220220
fabric:query_view(Db, Options, VDoc, ViewName,
221-
CB, Acc, Args)
221+
CB, Acc, QueryArgs)
222222
end
223223
end).
224224

0 commit comments

Comments
 (0)