diff --git a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore.node.ts b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore.node.ts index 0ccc9042c3..99705a7245 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore.node.ts @@ -147,7 +147,7 @@ export class N8nTrainingCustomerDatastore implements INodeType { responseData = data; } else { const limit = this.getNodeParameter('limit', i) as number; - responseData = data.splice(0, limit); + responseData = data.slice(0, limit); } }