appstore: automatic is not stableOnly
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user