eventlog: add the old and new manifest in restore

This commit is contained in:
Girish Ramakrishnan
2019-01-11 12:27:42 -08:00
parent c021d3d9ce
commit e15d11a693

View File

@@ -956,7 +956,7 @@ function restore(appId, data, auditSource, callback) {
taskmanager.restartAppTask(appId);
eventlog.add(eventlog.ACTION_APP_RESTORE, auditSource, { appId: appId, app: app });
eventlog.add(eventlog.ACTION_APP_RESTORE, auditSource, { app: app, backupId: backupInfo.id, fromManifest: app.manifest, toManifest: backupInfo.manifest });
callback(null);
});