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)