From 97d7d934b86d70b189a88152efa99763b6495248 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 31 Oct 2022 09:34:55 +0100 Subject: [PATCH] fix account as integer II --- backend/windmill-api/openapi.yaml | 2 +- frontend/src/routes/variables.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index 6365ebb4a5..744a0755b0 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -3366,7 +3366,7 @@ components: in: path required: true schema: - type: string + type: integer ClientName: name: client_name in: path diff --git a/frontend/src/routes/variables.svelte b/frontend/src/routes/variables.svelte index ff60c5e49b..1e5c410575 100644 --- a/frontend/src/routes/variables.svelte +++ b/frontend/src/routes/variables.svelte @@ -56,7 +56,7 @@ loading.contextual = false } - async function deleteVariable(path: string, account?: string): Promise { + async function deleteVariable(path: string, account?: number): Promise { if (account) { OauthService.disconnectAccount({ workspace: $workspaceStore!, id: account }) }