Permalink
Browse files

Merge pull request #303 from shtaft/patch-2

Update README.md
  • Loading branch information...
2 parents fdf96ce + b43073c commit a10f6e6c337c761993c19cc8829bbf8cc9ba4c3a @jo jo committed May 16, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -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];

0 comments on commit a10f6e6

Please sign in to comment.