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:
@@ -29,6 +29,7 @@ import {
|
||||
} from './GenericFunctions';
|
||||
|
||||
import { optionsDescription } from './OptionsDescription';
|
||||
import { generatePairedItemData } from '../../../utils/utilities';
|
||||
|
||||
const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'Merge',
|
||||
@@ -599,7 +600,8 @@ export class MergeV2 implements INodeType {
|
||||
returnData.push.apply(returnData, this.getInputData(1));
|
||||
}
|
||||
if (output === 'empty') {
|
||||
returnData.push({ json: {} });
|
||||
const itemData = generatePairedItemData(this.getInputData(0).length);
|
||||
returnData.push({ json: {}, pairedItem: itemData });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user