diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/payto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/payto.ts b/src/util/payto.ts index 0f624de67..b675b5d1f 100644 --- a/src/util/payto.ts +++ b/src/util/payto.ts @@ -28,7 +28,7 @@ const paytoPfx = "payto://"; export function addPaytoQueryParams(s: string, params: { [name: string]: string }): string { const [acct, search] = s.slice(paytoPfx.length).split("?"); const searchParams = new URLSearchParams(search || ""); - for (let k of Object.keys(params)) { + for (const k of Object.keys(params)) { searchParams.set(k, params[k]); } return paytoPfx + acct + "?" + searchParams.toString(); |