appstore: automatic is not stableOnly

This commit is contained in:
Girish Ramakrishnan
2025-06-25 18:17:22 +02:00
parent 7d1f218523
commit e0af49f638
5 changed files with 18 additions and 18 deletions

View File

@@ -139,7 +139,7 @@ async function getBoxUpdate(options) {
const query = {
accessToken: token,
boxVersion: constants.VERSION,
automatic: options.automatic
stableOnly: options.stableOnly
};
const [error, response] = await safe(superagent.get(`${await getApiServerOrigin()}/api/v1/boxupdate`)
@@ -182,7 +182,7 @@ async function getAppUpdate(app, options) {
boxVersion: constants.VERSION,
appId: app.appStoreId,
appVersion: app.manifest.version,
automatic: options.automatic
stableOnly: options.stableOnly
};
const [error, response] = await safe(superagent.get(`${await getApiServerOrigin()}/api/v1/appupdate`)