Skip to content

Commit 7c80214

Browse files
Update WorkPeriodService.js
1 parent e36a53e commit 7c80214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/WorkPeriodService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ async function updateWorkPeriod (currentUser, id, data) {
290290
}
291291

292292
//await helper.postEvent(config.TAAS_WORK_PERIOD_UPDATE_TOPIC, updated.toJSON(), { oldValue: oldValue })
293-
await helper.postEvent(config.TAAS_WORK_PERIOD_UPDATE_TOPIC, updated.toJSON(), {"key":data.resourceBookingId})
293+
await helper.postEvent(config.TAAS_WORK_PERIOD_UPDATE_TOPIC, updated.toJSON(), {oldValue: oldValue, "key":data.resourceBookingId})
294294
return updated.dataValues
295295
}
296296

0 commit comments

Comments
 (0)