From e6d7899a6ebf42cd7d65e6ab6da0b6fdbf49647f Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Mon, 28 Jun 2010 16:14:11 -0400 Subject: oops, we already have a #db{} here --- src/chttpd_view.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chttpd_view.erl') diff --git a/src/chttpd_view.erl b/src/chttpd_view.erl index c87d5a73..7308f4bd 100644 --- a/src/chttpd_view.erl +++ b/src/chttpd_view.erl @@ -26,7 +26,7 @@ send_chunked_error/2]). design_doc_view(Req, Db, DDoc, ViewName, Keys) -> - Group = couch_view_group:design_doc_to_view_group(#db{name=Db}, DDoc), + Group = couch_view_group:design_doc_to_view_group(Db, DDoc), IsReduce = get_reduce_type(Req), ViewType = extract_view_type(ViewName, Group#group.views, IsReduce), QueryArgs = parse_view_params(Req, Keys, ViewType), -- cgit v1.2.3