mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat: Do not assign all paired items (no-changelog) (#11716)
This commit is contained in:
@@ -4,13 +4,12 @@ import type {
|
||||
INodeExecutionData,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
IPairedItemData,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
import Parser from 'rss-parser';
|
||||
import { URL } from 'url';
|
||||
|
||||
import { generatePairedItemData } from '../../utils/utilities';
|
||||
|
||||
// Utility function
|
||||
|
||||
function validateURL(url: string) {
|
||||
@@ -77,7 +76,7 @@ export class RssFeedRead implements INodeType {
|
||||
if (nodeVersion >= 1.1) {
|
||||
itemsLength = items.length;
|
||||
} else {
|
||||
fallbackPairedItems = generatePairedItemData(items.length);
|
||||
fallbackPairedItems = [] as IPairedItemData[];
|
||||
}
|
||||
|
||||
for (let i = 0; i < itemsLength; i++) {
|
||||
|
||||
Reference in New Issue
Block a user