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

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shtaft committed Dec 8, 2015
1 parent 1b65fee commit b43073c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,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 b43073c

Please sign in to comment.