feat: Do not assign all paired items (no-changelog) (#11716)

This commit is contained in:
Michael Kret
2025-02-06 15:46:28 +02:00
committed by GitHub
parent 2eabca5613
commit 4c2546dc78
33 changed files with 55 additions and 236 deletions

View File

@@ -21,7 +21,7 @@ import {
} from 'n8n-workflow';
import type { Readable } from 'stream';
import { formatPrivateKey, generatePairedItemData } from '../../utils/utilities';
import { formatPrivateKey } from '../../utils/utilities';
export class RespondToWebhook implements INodeType {
description: INodeTypeDescription = {
@@ -443,11 +443,7 @@ export class RespondToWebhook implements INodeType {
this.sendResponse(response);
} catch (error) {
if (this.continueOnFail()) {
const itemData = generatePairedItemData(items.length);
const returnData = this.helpers.constructExecutionMetaData(
[{ json: { error: error.message } }],
{ itemData },
);
const returnData = [{ json: { error: error.message } }];
return [returnData];
}