mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: remove duplicate wrap of paired item data (#4001)
* fix: remove duplicate wrap of paired item data and adding where missing for other nodes
This commit is contained in:
@@ -456,10 +456,6 @@ export class Xero implements INodeType {
|
||||
responseData = responseData.Invoices;
|
||||
responseData = responseData.splice(0, limit);
|
||||
}
|
||||
responseData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
}
|
||||
}
|
||||
if (resource === 'contact') {
|
||||
@@ -613,10 +609,6 @@ export class Xero implements INodeType {
|
||||
responseData = responseData.Contacts;
|
||||
responseData = responseData.splice(0, limit);
|
||||
}
|
||||
responseData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
}
|
||||
if (operation === 'update') {
|
||||
const organizationId = this.getNodeParameter('organizationId', i) as string;
|
||||
|
||||
Reference in New Issue
Block a user