From a21cc43d2f030e31068adc789776fd061a32cc44 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Tue, 22 Jun 2021 15:34:11 +0100 Subject: [PATCH] fix: pass searchParams to setPinOptions --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 43153a3..6bdd799 100644 --- a/index.js +++ b/index.js @@ -228,7 +228,7 @@ export class Cluster { */ function setAddParams (options, searchParams) { options = options || {} - setPinOptions(options) + setPinOptions(options, searchParams) if (options.local != null) { searchParams.set('local', options.local) }