addons: optional start mongodb based on AVX

This commit is contained in:
Girish Ramakrishnan
2024-03-30 18:31:57 +01:00
parent 6bd9391160
commit 774f14327c
4 changed files with 40 additions and 2 deletions

View File

@@ -2482,7 +2482,8 @@ async function checkManifest(manifest) {
return new BoxError(BoxError.BAD_FIELD, 'App version requires a new platform version');
}
return null;
const error = await services.checkAddonsSupport(manifest.addons || {});
return error;
}
async function createExec(app, options) {