From 2b28aed4e217b3d260483136fc80ccb7539f70eb Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 4 Sep 2025 04:50:21 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- api/core/workflow/nodes/http_request/executor.py | 1 - api/core/workflow/nodes/variable_assigner/v1/node.py | 1 - 2 files changed, 2 deletions(-) diff --git a/api/core/workflow/nodes/http_request/executor.py b/api/core/workflow/nodes/http_request/executor.py index a36a0a9d98..a0319cfe5f 100644 --- a/api/core/workflow/nodes/http_request/executor.py +++ b/api/core/workflow/nodes/http_request/executor.py @@ -263,7 +263,6 @@ class Executor: if authorization.config is None: raise AuthorizationConfigError("authorization config is required") - if not authorization.config.header: authorization.config.header = "Authorization" diff --git a/api/core/workflow/nodes/variable_assigner/v1/node.py b/api/core/workflow/nodes/variable_assigner/v1/node.py index 9b3a7c61f7..97ceb33422 100644 --- a/api/core/workflow/nodes/variable_assigner/v1/node.py +++ b/api/core/workflow/nodes/variable_assigner/v1/node.py @@ -119,7 +119,6 @@ class VariableAssignerNode(Node): income_value = get_zero_value(original_variable.value_type) updated_variable = original_variable.model_copy(update={"value": income_value.to_object()}) - # Over write the variable. self.graph_runtime_state.variable_pool.add(assigned_variable_selector, updated_variable)