summaryrefslogtreecommitdiff
path: root/apps/chttpd/src/chttpd_show.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_show.erl
parent7393d62b7b630bee50f609d0ae8125d33f7cda2b (diff)
design_doc_to_view_group only needs the #doc{}
Diffstat (limited to 'apps/chttpd/src/chttpd_show.erl')
-rw-r--r--apps/chttpd/src/chttpd_show.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/chttpd/src/chttpd_show.erl b/apps/chttpd/src/chttpd_show.erl
index fba7f040..0aba2835 100644
--- a/apps/chttpd/src/chttpd_show.erl
+++ b/apps/chttpd/src/chttpd_show.erl
@@ -183,7 +183,7 @@ handle_view_list_req(Req, _Db, _DDoc) ->
handle_view_list(Req, Db, DDoc, LName, {ViewDesignName, ViewName}, Keys) ->
{ok, VDoc} = fabric:open_doc(Db, <<"_design/", ViewDesignName/binary>>, []),
- Group = couch_view_group:design_doc_to_view_group(Db, VDoc),
+ Group = couch_view_group:design_doc_to_view_group(VDoc),
IsReduce = chttpd_view:get_reduce_type(Req),
ViewType = chttpd_view:extract_view_type(ViewName, Group#group.views,
IsReduce),