mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Do not assign all paired items (no-changelog) (#11716)
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user