Skip to content

Commit

Permalink
fix: pass searchParams to setPinOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jun 22, 2021
1 parent 7ae4ec5 commit a21cc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit a21cc43

Please sign in to comment.