From 6f4a3701e72a3eaa044ea09accbc20e8079982a1 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 26 Jun 2025 17:08:14 +0200 Subject: [PATCH] apps: clear updateInfo on successful submit --- src/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.js b/src/apps.js index 7be18f293..fbdf76f78 100644 --- a/src/apps.js +++ b/src/apps.js @@ -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');