mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Missing pairing info (#7326)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -4887,6 +4887,7 @@ export class Pipedrive implements INodeType {
|
||||
if (resource === 'file' && operation === 'download') {
|
||||
const newItem: INodeExecutionData = {
|
||||
json: items[i].json,
|
||||
pairedItem: { item: i },
|
||||
binary: {},
|
||||
};
|
||||
|
||||
@@ -4940,7 +4941,7 @@ export class Pipedrive implements INodeType {
|
||||
if (resource === 'file' && operation === 'download') {
|
||||
items[i].json = { error: error.message };
|
||||
} else {
|
||||
returnData.push({ json: { error: error.message } });
|
||||
returnData.push({ json: { error: error.message }, pairedItem: { item: i } });
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user