Skip to content

Commit

Permalink
Merge pull request #5 from cloudant/allow-conflict-resolution
Browse files Browse the repository at this point in the history
Allow conflict resolution
  • Loading branch information
Robert Newson committed Mar 5, 2013
2 parents 59a5b60 + 00bd756 commit c296cae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/custodian/src/custodian.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<<"function(newDoc, oldDoc) {
var i, range, node;
if(newDoc['_id'].substring(0, 8) === \"_design/\") return;
if(newDoc['_deleted'] === true) return;
if (!newDoc.by_node) {
throw({forbidden: \"by_node is mandatory\"});
}
Expand Down

0 comments on commit c296cae

Please sign in to comment.