mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Correctly apply maxRows limit when fetching the dataset (#16176)
This commit is contained in:
committed by
GitHub
parent
aa1c3e497e
commit
09fd5c01d4
@@ -143,7 +143,7 @@ export class EvaluationTrigger implements INodeType {
|
|||||||
{},
|
{},
|
||||||
);
|
);
|
||||||
|
|
||||||
const result = testRunnerResult.filter((row) => (row?.json?.row_number as number) <= maxRows);
|
const result = testRunnerResult.slice(0, maxRows - 1);
|
||||||
|
|
||||||
return [result];
|
return [result];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user