Skip to content

Commit

Permalink
Merge pull request #206 from iliazubkov/WEB-16721-native-sf-sales-rev…
Browse files Browse the repository at this point in the history
…enuemargin

WEB-16721 separate remove operations
  • Loading branch information
EugeneKostrikov authored Aug 16, 2017
2 parents 7eddf1b + fa7465b commit 0a4c0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/route-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ exports.processRemoveOp = function(op, model, returnedDocument){

var result = {
match: {},
separate: false,
separate: true,
key: pullKey,
update: {}
};
Expand All @@ -152,7 +152,7 @@ exports.processRemoveOp = function(op, model, returnedDocument){
var pullOp = result;
var pushOp = {
match: {},
separate: false,
separate: true,
key: '$push',
update: {}
};
Expand Down

0 comments on commit 0a4c0fc

Please sign in to comment.