From 162d1d238f2e702b9db9ff65b775e2a247026fcf Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Mon, 18 Nov 2024 18:50:12 -0300 Subject: [PATCH] fix: wrong permission name used (#33984) --- .../src/server/runtime/deno/AppsEngineDenoRuntime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts b/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts index 63c132b3eb75..d462098d8e65 100644 --- a/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts +++ b/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts @@ -152,7 +152,7 @@ export class DenoRuntimeSubprocessController extends EventEmitter { // If the app doesn't request any permissions, it gets the default set of permissions, which includes "networking" // If the app requests specific permissions, we need to check whether it requests "networking" or not - if (!this.appPackage.info.permissions || this.appPackage.info.permissions.findIndex((p) => p.name === 'networking.default') !== -1) { + if (!this.appPackage.info.permissions || this.appPackage.info.permissions.findIndex((p) => p.name === 'networking') !== -1) { options.splice(1, 0, '--allow-net'); }