summaryrefslogtreecommitdiff
path: root/apps/chttpd/src/chttpd_view.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-18 14:09:22 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-18 14:24:57 -0400
commit1b40244642f1099df7b7addecf2ac47e52b8d636 (patch)
treef28263ebad3d0d7291dd66c41f3459aef732902f /apps/chttpd/src/chttpd_view.erl
parent7393d62b7b630bee50f609d0ae8125d33f7cda2b (diff)
design_doc_to_view_group only needs the #doc{}
Diffstat (limited to 'apps/chttpd/src/chttpd_view.erl')
-rw-r--r--apps/chttpd/src/chttpd_view.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/chttpd/src/chttpd_view.erl b/apps/chttpd/src/chttpd_view.erl
index 87a03307..87138702 100644
--- a/apps/chttpd/src/chttpd_view.erl
+++ b/apps/chttpd/src/chttpd_view.erl
@@ -23,7 +23,7 @@
send_chunked_error/2]).
design_doc_view(Req, Db, DDoc, ViewName, Keys) ->
- Group = couch_view_group:design_doc_to_view_group(Db, DDoc),
+ Group = couch_view_group:design_doc_to_view_group(DDoc),
IsReduce = get_reduce_type(Req),
ViewType = extract_view_type(ViewName, Group#group.views, IsReduce),
QueryArgs = parse_view_params(Req, Keys, ViewType),