mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 09:04:07 -08:00
simplified router.ts
This commit is contained in:
parent
7d4f152518
commit
861691cf63
|
@ -33,9 +33,12 @@ export async function router(this: IExecuteFunctions): Promise<INodeExecutionDat
|
|||
}
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
{ itemData: { item: i } },
|
||||
responseData as INodeExecutionData[],
|
||||
{
|
||||
itemData: { item: i },
|
||||
},
|
||||
);
|
||||
|
||||
operationResult.push(...executionData);
|
||||
} catch (err) {
|
||||
if (this.continueOnFail()) {
|
||||
|
|
Loading…
Reference in a new issue