mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450)
This commit is contained in:
committed by
GitHub
parent
d9616fc36f
commit
2bdc459bb2
@@ -3,7 +3,7 @@ import { ExpressionError } from 'n8n-workflow';
|
||||
|
||||
function buildSecretsValueProxy(value: IDataObject): unknown {
|
||||
return new Proxy(value, {
|
||||
get(target, valueName) {
|
||||
get(_target, valueName) {
|
||||
if (typeof valueName !== 'string') {
|
||||
return;
|
||||
}
|
||||
@@ -27,7 +27,7 @@ export function getSecretsProxy(additionalData: IWorkflowExecuteAdditionalData):
|
||||
return new Proxy(
|
||||
{},
|
||||
{
|
||||
get(target, providerName) {
|
||||
get(_target, providerName) {
|
||||
if (typeof providerName !== 'string') {
|
||||
return {};
|
||||
}
|
||||
@@ -35,7 +35,7 @@ export function getSecretsProxy(additionalData: IWorkflowExecuteAdditionalData):
|
||||
return new Proxy(
|
||||
{},
|
||||
{
|
||||
get(target2, secretName) {
|
||||
get(_target2, secretName) {
|
||||
if (typeof secretName !== 'string') {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user