mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Missing pairedItem fixes (#8394)
This commit is contained in:
@@ -13,6 +13,7 @@ import type {
|
||||
import { deepCopy } from 'n8n-workflow';
|
||||
|
||||
import { oldVersionNotice } from '@utils/descriptions';
|
||||
import { generatePairedItemData } from '../../../utils/utilities';
|
||||
|
||||
const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'Merge',
|
||||
@@ -477,7 +478,8 @@ export class MergeV1 implements INodeType {
|
||||
returnData.push.apply(returnData, this.getInputData(1));
|
||||
}
|
||||
} else if (mode === 'wait') {
|
||||
returnData.push({ json: {} });
|
||||
const pairedItem = generatePairedItemData(this.getInputData(0).length);
|
||||
returnData.push({ json: {}, pairedItem });
|
||||
}
|
||||
|
||||
return [returnData];
|
||||
|
||||
Reference in New Issue
Block a user