From a82fb0c2cb0f8048c9bce12d2eb24fb82fdb2ecf Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 30 Mar 2024 18:51:19 +0100 Subject: [PATCH] typo from 110e68331 --- src/apps.js | 2 +- src/apptask.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}`); }