fix: sidebar codegen crashing and AWS Signature Auth flow (#4315)

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
This commit is contained in:
Andrew Bastin
2024-09-01 21:25:06 +05:30
committed by GitHub
parent c2fb6aee3f
commit 519b520913
7 changed files with 63 additions and 26 deletions

View File

@@ -247,7 +247,7 @@ export function runRESTRequest$(
combineEnvVariables(finalEnvs)
)
const effectiveRequest = getEffectiveRESTRequest(finalRequest, {
const effectiveRequest = await getEffectiveRESTRequest(finalRequest, {
id: "env-id",
v: 1,
name: "Env",
@@ -321,7 +321,7 @@ export function runRESTRequest$(
{
name: env.name,
v: 1,
id: env.id ?? "",
id: "id" in env ? env.id : "",
variables: updatedRunResult.envs.selected,
}
)