@dhyasama/totem-merge 6.10.0 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/organizations.js +1 -1
- package/package.json +1 -1
package/lib/organizations.js
CHANGED
|
@@ -251,7 +251,7 @@ var updateDeals = function updateDeals(newOrgId, oldOrgId, cb) {
|
|
|
251
251
|
|
|
252
252
|
var queue = async.queue(function(task, callback) {
|
|
253
253
|
|
|
254
|
-
self.Deal.modifyById(task.id, task.update, function(err, result) {
|
|
254
|
+
self.Deal.modifyById(task.id, task.update, { CUSTOMER_ID: customerId }, function(err, result) {
|
|
255
255
|
if (err) { return callback(err, null); }
|
|
256
256
|
else if (result) { updated.push(result); }
|
|
257
257
|
return callback(null, result);
|