Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #303 from shtaft/patch-2
Update README.md
  • Loading branch information
jo committed May 16, 2016
2 parents fdf96ce + b43073c commit a10f6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -689,8 +689,8 @@ An example update handler follows:
``` js
"updates": {
"in-place" : "function(doc, req) {
var field = req.form.field;
var value = req.form.value;
var field = req.body.field;
var value = req.body.value;
var message = 'set '+field+' to '+value;
doc[field] = value;
return [doc, message];
Expand Down

0 comments on commit a10f6e6

Please sign in to comment.