diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-22 07:46:15 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 11:18:46 -0400 |
commit | ce41b0d7fd15f6cc20b19147f88003f7ea61c728 (patch) | |
tree | 3f6048e497c5f43670571c512a99a2314c6911dc | |
parent | 17e63f456d7c62178a6536ad2004f6d5c632ef53 (diff) |
fix passing options to fabric in _bulk_docs
-rw-r--r-- | src/chttpd_db.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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, |