From a98efd72db9e63d6416424cf118db7587a766e76 Mon Sep 17 00:00:00 2001 From: Tomer Heber Date: Thu, 13 Jun 2024 22:48:55 -0500 Subject: [PATCH] Fix: configuration Variable in Workflow drift (#874) --- client/configuration_variable.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/configuration_variable.go b/client/configuration_variable.go index 48313d7e..0e8d6e26 100644 --- a/client/configuration_variable.go +++ b/client/configuration_variable.go @@ -107,8 +107,7 @@ func (client *ApiClient) ConfigurationVariablesByScope(scope Scope, scopeId stri case scope == ScopeDeploymentLog: params["deploymentLogId"] = scopeId case scope == ScopeWorkflow: - params["environmentId"] = scopeId // temporary mitigation - scope = ScopeEnvironment // temporary mitigation + params["environmentId"] = scopeId params["workflowEnvironmentId"] = scopeId } err = client.http.Get("/configuration", params, &result)