diff --git a/src/apptask.js b/src/apptask.js index 391b80cb7..35bd1a0be 100644 --- a/src/apptask.js +++ b/src/apptask.js @@ -801,11 +801,11 @@ function update(app, updateConfig, progressCallback, callback) { runApp.bind(null, app), progressCallback.bind(null, { percent: 100, message: 'Done' }), - updateApp.bind(null, app, { installationState: appdb.ISTATE_INSTALLED, errorMessage: '', health: null, updateConfig: null, taskId: null, updateTime: new Date() }) + updateApp.bind(null, app, { installationState: appdb.ISTATE_INSTALLED, errorMessage: '', health: null, taskId: null, updateTime: new Date() }) ], function seriesDone(error) { if (error && error.backupError) { debugApp(app, 'update aborted because backup failed', error); - updateApp(app, { installationState: appdb.ISTATE_INSTALLED, errorMessage: '', health: null, updateConfig: null, taskId: null }, callback.bind(null, error)); + updateApp(app, { installationState: appdb.ISTATE_INSTALLED, errorMessage: '', health: null, taskId: null }, callback.bind(null, error)); } else if (error) { debugApp(app, 'Error updating app: %s', error); updateApp(app, { installationState: appdb.ISTATE_ERROR, errorMessage: error.message, updateTime: new Date() }, callback.bind(null, error));