mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Manually reverted PR 11716 Do not assign all paired items (no-changelog) (#13429)
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
} from './GenericFunctions';
|
||||
import { recordFields, recordOperations } from './RecordDescription';
|
||||
import { reportFields, reportOperations } from './ReportDescription';
|
||||
import { generatePairedItemData } from '../../utils/utilities';
|
||||
|
||||
export class QuickBase implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -113,6 +114,7 @@ export class QuickBase implements INodeType {
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
const itemData = generatePairedItemData(items.length);
|
||||
const returnData: INodeExecutionData[] = [];
|
||||
const length = items.length;
|
||||
const qs: IDataObject = {};
|
||||
@@ -290,7 +292,10 @@ export class QuickBase implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
const executionData = this.helpers.returnJsonArray(responseData as IDataObject[]);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData as IDataObject[]),
|
||||
{ itemData },
|
||||
);
|
||||
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
@@ -457,7 +462,10 @@ export class QuickBase implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
const executionData = this.helpers.returnJsonArray(responseData as IDataObject[]);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData as IDataObject[]),
|
||||
{ itemData },
|
||||
);
|
||||
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
@@ -537,7 +545,10 @@ export class QuickBase implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
const executionData = this.helpers.returnJsonArray(responseData as IDataObject[]);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData as IDataObject[]),
|
||||
{ itemData },
|
||||
);
|
||||
|
||||
returnData.push(...executionData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user