summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Chesneau <benoitc@apache.org>2010-03-28 09:18:08 +0000
committerBenoit Chesneau <benoitc@apache.org>2010-03-28 09:18:08 +0000
commit41680a4491aa018660a990997925b7a9ad3c82e4 (patch)
tree91f19e2a758ee5835a5e3d37b0d93384f4d1a491
parentef7ab7e4e414d53fe5c12993d29b193ed3cdfd42 (diff)
typo.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928364 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_httpd_show.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_show.erl b/src/couchdb/couch_httpd_show.erl
index c0bb21e7..a472c97a 100644
--- a/src/couchdb/couch_httpd_show.erl
+++ b/src/couchdb/couch_httpd_show.erl
@@ -138,9 +138,9 @@ send_doc_update_response(Req, Db, DDoc, UpdateName, Doc, DocId) ->
NewDoc = couch_doc:from_json_obj({NewJsonDoc}),
{ok, NewRev} = couch_db:update_doc(Db, NewDoc, Options),
NewRevStr = couch_doc:rev_to_str(NewRev),
- JsonRespWithResv = {[{<<"headers">>,
+ JsonRespWithRev = {[{<<"headers">>,
{[{<<"X-Couch-Update-NewRev">>, NewRevStr}]}} | JsonResp]},
- {201, JsonRespWithResv};
+ {201, JsonRespWithRev};
[<<"up">>, _Other, JsonResp] ->
{200, JsonResp}
end,