mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
clean up
This commit is contained in:
parent
af2da6ae72
commit
a59f1c5ed8
|
@ -10,6 +10,7 @@ import type {
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
SupplyData,
|
SupplyData,
|
||||||
INodeParameterResourceLocator,
|
INodeParameterResourceLocator,
|
||||||
|
ExecuteWorkflowData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { BaseRetriever, type BaseRetrieverInput } from '@langchain/core/retrievers';
|
import { BaseRetriever, type BaseRetrieverInput } from '@langchain/core/retrievers';
|
||||||
|
@ -389,7 +390,7 @@ export class RetrieverWorkflow implements INodeType {
|
||||||
|
|
||||||
const items = [newItem] as INodeExecutionData[];
|
const items = [newItem] as INodeExecutionData[];
|
||||||
|
|
||||||
let receivedData;
|
let receivedData: ExecuteWorkflowData;
|
||||||
try {
|
try {
|
||||||
receivedData = await this.executeFunctions.executeWorkflow(
|
receivedData = await this.executeFunctions.executeWorkflow(
|
||||||
workflowInfo,
|
workflowInfo,
|
||||||
|
|
Loading…
Reference in a new issue