From 04607a2378c4e838dbf6bab8be4d68a64010b981 Mon Sep 17 00:00:00 2001 From: Dominic Pelini <111786059+DomPeliniAerospike@users.noreply.github.com> Date: Mon, 14 Aug 2023 15:39:25 -0600 Subject: [PATCH] Added options support for scan Added options support for scan --- lib/scan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scan.js b/lib/scan.js index 8ade8e2b..4c701d5e 100644 --- a/lib/scan.js +++ b/lib/scan.js @@ -308,7 +308,7 @@ function Scan (client, ns, set, options) { * Note that the TTL value will be employed ONLY on background scan writes. * @member {number} Scan#ttl */ - this.ttl = 0 + this.ttl = options.ttl } /**