🐛 Fix bug on n8n Training Customer Datastore Node (#1964)

This commit is contained in:
Ahsan Virani 2021-07-03 11:14:11 +02:00 committed by GitHub
parent 64961199ba
commit 05921de99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}