mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Text Classifier Node): Return error for empty inputText (#15390)
This commit is contained in:
@@ -241,7 +241,6 @@ export class TextClassifier implements INodeType {
|
||||
const batchPromises = batch.map(async (_item, batchItemIndex) => {
|
||||
const itemIndex = i + batchItemIndex;
|
||||
const item = items[itemIndex];
|
||||
item.pairedItem = { item: itemIndex };
|
||||
|
||||
return await processItem(
|
||||
this,
|
||||
@@ -291,7 +290,6 @@ export class TextClassifier implements INodeType {
|
||||
} else {
|
||||
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
||||
const item = items[itemIndex];
|
||||
item.pairedItem = { item: itemIndex };
|
||||
|
||||
try {
|
||||
const output = await processItem(
|
||||
|
||||
Reference in New Issue
Block a user