aboutsummaryrefslogtreecommitdiff
path: root/src/util/payto.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-30 16:09:32 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-30 16:09:32 +0530
commitaaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf (patch)
tree9274139660f30c4857d80044eb4ac283aac1775a /src/util/payto.ts
parent15e18440dbad55df19977a2eb7053681259afc18 (diff)
downloadwallet-core-aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf.tar.xz
re-format with prettier v2, fix HTML
Diffstat (limited to 'src/util/payto.ts')
-rw-r--r--src/util/payto.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/util/payto.ts b/src/util/payto.ts
index 0926fdeed..ac5bc0c7f 100644
--- a/src/util/payto.ts
+++ b/src/util/payto.ts
@@ -20,9 +20,8 @@ interface PaytoUri {
params: { [name: string]: string };
}
-
export function parsePaytoUri(s: string): PaytoUri | undefined {
- const pfx = "payto://"
+ const pfx = "payto://";
if (!s.startsWith(pfx)) {
return undefined;
}
@@ -50,5 +49,5 @@ export function parsePaytoUri(s: string): PaytoUri | undefined {
targetPath,
targetType,
params,
- }
-} \ No newline at end of file
+ };
+}