From 2f23dbb8a50131d3bdae8a2fe0a9e2c2cede57cf Mon Sep 17 00:00:00 2001 From: Stanislas Polu Date: Thu, 12 Oct 2023 11:04:01 +0200 Subject: [PATCH] hotfix query variable --- front/pages/api/v1/w/[wId]/apps/[aId]/runs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/pages/api/v1/w/[wId]/apps/[aId]/runs/index.ts b/front/pages/api/v1/w/[wId]/apps/[aId]/runs/index.ts index 7e871106b100..40365f7ae39d 100644 --- a/front/pages/api/v1/w/[wId]/apps/[aId]/runs/index.ts +++ b/front/pages/api/v1/w/[wId]/apps/[aId]/runs/index.ts @@ -120,7 +120,7 @@ async function handler( // This variable is used in the context of the DustAppRun action to use the workspace credentials // instead of our managed credentials when running an app with a system API key. - const useWorkspaceCredentials = !!req.query.useWorkspaceCredentials; + const useWorkspaceCredentials = !!req.query["use_workspace_credentials"]; switch (req.method) { case "POST":