From ce41b0d7fd15f6cc20b19147f88003f7ea61c728 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 22 Jun 2010 07:46:15 -0400 Subject: fix passing options to fabric in _bulk_docs --- src/chttpd_db.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl index 9aae4c6e..2d2fadc2 100644 --- a/src/chttpd_db.erl +++ b/src/chttpd_db.erl @@ -271,7 +271,7 @@ db_req(#httpd{method='POST',path_parts=[_,<<"_bulk_docs">>], user_ctx=Ctx}=Req, true -> [all_or_nothing|Options]; _ -> Options end, - case fabric:update_docs(Db, Docs, [Options2]) of + case fabric:update_docs(Db, Docs, Options2) of {ok, Results} -> % output the results DocResults = lists:zipwith(fun update_doc_result_to_json/2, -- cgit v1.2.3