diff --git a/src/apps.js b/src/apps.js index 7d45ae21c..61926bb6f 100644 --- a/src/apps.js +++ b/src/apps.js @@ -1253,7 +1253,8 @@ function update(app, data, auditSource, callback) { const skipBackup = !!data.skipBackup, appId = app.id, - manifest = data.manifest; + manifest = data.manifest, + appStoreId = data.appStoreId; let values = {}; @@ -1268,7 +1269,7 @@ function update(app, data, auditSource, callback) { error = checkManifestConstraints(manifest); if (error) return callback(error); - var updateConfig = { skipBackup, manifest }; + var updateConfig = { skipBackup, manifest, appStoreId }; // this will clear appStoreId when updating from a repo and set it if passed in for update route // prevent user from installing a app with different manifest id over an existing app // this allows cloudron install -f --app for an app installed from the appStore