From bb5fbbe746d16e7c04bf56b946dfa8669e8bc02a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 20 Feb 2019 16:18:37 -0800 Subject: [PATCH] Add boxUpdateInfo to the eventlog this is used by the email digest code --- src/updater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updater.js b/src/updater.js index 9ca296a25..cf3c9cf42 100644 --- a/src/updater.js +++ b/src/updater.js @@ -195,7 +195,7 @@ function updateToLatest(auditSource, callback) { let task = tasks.startTask(tasks.TASK_UPDATE, [ boxUpdateInfo ]); task.on('error', (error) => callback(new UpdaterError(UpdaterError.INTERNAL_ERROR, error))); task.on('start', (taskId) => { - eventlog.add(eventlog.ACTION_UPDATE, auditSource, { taskId }); + eventlog.add(eventlog.ACTION_UPDATE, auditSource, { taskId, boxUpdateInfo }); callback(null, taskId); }); task.on('finish', (error) => {