Skip to content

Commit 056ca89

Browse files
author
Vikas Agarwal
committed
One more fix for syncing ES and db
1 parent 3b78850 commit 056ca89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/events/milestones/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ const milestoneUpdatedHandler = Promise.coroutine(function* (logger, msg, channe
7070
const otherUpdatedMilestones = data.cascadedUpdates.milestones;
7171
_.each(milestones, (m) => {
7272
// finds the updated milestone from the cascaded updates
73-
const updatedMilestone = _.find(otherUpdatedMilestones, oum => oum.updated && oum.updated.id === m.id);
74-
logger.debug('updatedMilestone=>', updatedMilestone);
73+
const updatedMilestoneData = _.find(otherUpdatedMilestones, oum => oum.updated && oum.updated.id === m.id);
74+
logger.debug('updatedMilestone=>', updatedMilestoneData.updated);
7575
if (updatedMilestone) {
7676
_.assign(m, updatedMilestone);
7777
}

0 commit comments

Comments
 (0)