From 05921de99ae3971e497297f83c20946d4ab8cbde Mon Sep 17 00:00:00 2001 From: Ahsan Virani Date: Sat, 3 Jul 2021 11:14:11 +0200 Subject: [PATCH] :bug: Fix bug on n8n Training Customer Datastore Node (#1964) --- packages/nodes-base/nodes/N8nTrainingCustomerDatastore.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }