couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject svn commit: r928364 - /couchdb/trunk/src/couchdb/couch_httpd_show.erl
Date Sun, 28 Mar 2010 09:18:09 GMT
Author: benoitc
Date: Sun Mar 28 09:18:08 2010
New Revision: 928364

URL: http://svn.apache.org/viewvc?rev=928364&view=rev
Log:
typo.

Modified:
    couchdb/trunk/src/couchdb/couch_httpd_show.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd_show.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_show.erl?rev=928364&r1=928363&r2=928364&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_show.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_show.erl Sun Mar 28 09:18:08 2010
@@ -138,9 +138,9 @@ send_doc_update_response(Req, Db, DDoc, 
             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,



Mime
View raw message