From b1008a7412695111475a1100aead99712cc2fd06 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 20 Oct 2022 14:53:19 +0200 Subject: [PATCH] fix: update execution old code --- .../functions/function/[function]/settings/+page.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte b/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte index d1d1c6ad2..f644bb98e 100644 --- a/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte +++ b/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte @@ -39,7 +39,6 @@ let showVariablesValue = []; let showVariablesDropdown = []; let timeout: number = null; - let deployment: Models.Deployment = null; let functionName: string = null; let permissions: string[] = []; let arePermsDisabled = true; @@ -53,7 +52,6 @@ await func.load(functionId); } await variableList.load(functionId); - deployment = await func.getDeployment(functionId, $func.deployment); timeout ??= $func.timeout; functionName ??= $func.name; permissions = $func.execute; @@ -268,8 +266,7 @@