aboutsummaryrefslogtreecommitdiff
path: root/src/util/payto.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/payto.ts')
-rw-r--r--src/util/payto.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/payto.ts b/src/util/payto.ts
index b675b5d1f..835214b86 100644
--- a/src/util/payto.ts
+++ b/src/util/payto.ts
@@ -25,7 +25,10 @@ const paytoPfx = "payto://";
/**
* Add query parameters to a payto URI
*/
-export function addPaytoQueryParams(s: string, params: { [name: string]: string }): string {
+export function addPaytoQueryParams(
+ s: string,
+ params: { [name: string]: string },
+): string {
const [acct, search] = s.slice(paytoPfx.length).split("?");
const searchParams = new URLSearchParams(search || "");
for (const k of Object.keys(params)) {