mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Do not assign all paired items (no-changelog) (#11716)
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
} from 'xlsx';
|
||||
|
||||
import { oldVersionNotice } from '@utils/descriptions';
|
||||
import { flattenObject, generatePairedItemData } from '@utils/utilities';
|
||||
import { flattenObject } from '@utils/utilities';
|
||||
|
||||
import {
|
||||
operationProperty,
|
||||
@@ -58,7 +58,6 @@ export class SpreadsheetFileV1 implements INodeType {
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
const pairedItem = generatePairedItemData(items.length);
|
||||
|
||||
const operation = this.getNodeParameter('operation', 0);
|
||||
|
||||
@@ -230,7 +229,6 @@ export class SpreadsheetFileV1 implements INodeType {
|
||||
const newItem: INodeExecutionData = {
|
||||
json: {},
|
||||
binary: {},
|
||||
pairedItem,
|
||||
};
|
||||
|
||||
let fileName = `spreadsheet.${fileFormat}`;
|
||||
@@ -247,7 +245,6 @@ export class SpreadsheetFileV1 implements INodeType {
|
||||
json: {
|
||||
error: error.message,
|
||||
},
|
||||
pairedItem,
|
||||
});
|
||||
} else {
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user