apps: clear updateInfo on successful submit
This commit is contained in:
@@ -2108,7 +2108,7 @@ async function updateApp(app, data, auditSource) {
|
||||
assert.strictEqual(typeof auditSource, 'object');
|
||||
|
||||
const skipBackup = !!data.skipBackup, appId = app.id, manifest = data.manifest;
|
||||
const values = {};
|
||||
const values = { updateInfo: null }; // clear update indicator immediately
|
||||
|
||||
if (app.runState === exports.RSTATE_STOPPED) throw new BoxError(BoxError.BAD_STATE, 'Stopped apps cannot be updated');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user