diff --git a/src/apps.js b/src/apps.js index ec68602f8..9321b0d79 100644 --- a/src/apps.js +++ b/src/apps.js @@ -74,7 +74,7 @@ exports = module.exports = { startExec, getExec, - checkManifestConstraints: checkManifest, + checkManifest, canAutoupdateApp, autoupdateApps, diff --git a/src/apptask.js b/src/apptask.js index 9f59e7ba2..c6c829752 100644 --- a/src/apptask.js +++ b/src/apptask.js @@ -192,7 +192,7 @@ async function verifyManifest(manifest) { let error = manifestFormat.parse(manifest); if (error) throw new BoxError(BoxError.BAD_FIELD, `Manifest error: ${error.message}`); - error = apps.checkManifestConstraints(manifest); + error = await apps.checkManifest(manifest); if (error) throw new BoxError(BoxError.CONFLICT, `Manifest constraint check failed: ${error.message}`); }