aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-06-21 18:20:39 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-06-21 18:20:39 +0530
commit06d9aab47c066fe162752a2dce7b3d2ea32ae470 (patch)
tree79ae6e1d33cf8e989d1db24f8b74214a480c9d25 /src/util
parent76fffdedd7274b1ea8653d1631e72646f86d94c9 (diff)
prettier
Diffstat (limited to 'src/util')
-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)) {