From a59f1c5ed8b2569084102a598030c7bf19f24dfa Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour Date: Tue, 12 Nov 2024 11:51:16 +0100 Subject: [PATCH] clean up --- .../retrievers/RetrieverWorkflow/RetrieverWorkflow.node.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/@n8n/nodes-langchain/nodes/retrievers/RetrieverWorkflow/RetrieverWorkflow.node.ts b/packages/@n8n/nodes-langchain/nodes/retrievers/RetrieverWorkflow/RetrieverWorkflow.node.ts index 4c6a023417..52b0618471 100644 --- a/packages/@n8n/nodes-langchain/nodes/retrievers/RetrieverWorkflow/RetrieverWorkflow.node.ts +++ b/packages/@n8n/nodes-langchain/nodes/retrievers/RetrieverWorkflow/RetrieverWorkflow.node.ts @@ -10,6 +10,7 @@ import type { INodeTypeDescription, SupplyData, INodeParameterResourceLocator, + ExecuteWorkflowData, } from 'n8n-workflow'; import { BaseRetriever, type BaseRetrieverInput } from '@langchain/core/retrievers'; @@ -389,7 +390,7 @@ export class RetrieverWorkflow implements INodeType { const items = [newItem] as INodeExecutionData[]; - let receivedData; + let receivedData: ExecuteWorkflowData; try { receivedData = await this.executeFunctions.executeWorkflow( workflowInfo,