From 9f6f3c5692a2ad1e08c311aac8620d907a1fea05 Mon Sep 17 00:00:00 2001 From: Dominic Pelini <111786059+DomPeliniAerospike@users.noreply.github.com> Date: Fri, 3 Nov 2023 13:59:36 -0600 Subject: [PATCH] Fixed issue with batchRemove Changed reference to records to new parameter name keys --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.js b/lib/client.js index 6f8a0ec3..0e11a7ce 100644 --- a/lib/client.js +++ b/lib/client.js @@ -1623,7 +1623,7 @@ Client.prototype.batchRemove = function (keys, batchPolicy, batchRemovePolicy, c } } - const cmd = new Commands.BatchRemove(this, [records, batchPolicy, batchRemovePolicy], callback) + const cmd = new Commands.BatchRemove(this, [keys, batchPolicy, batchRemovePolicy], callback) return cmd.execute() }