diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-19 16:16:42 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-19 16:16:42 -0300 |
commit | 40279ae7f0520b25f5aecf5b2318a1bb5772c10c (patch) | |
tree | 824f513640e3d98be23839c4d3917cd891aae360 /packages/taler-harness/src/harness/libeufin-apis.ts | |
parent | b5c29a8bad3b19b2529cd7fd1c9e321734f08379 (diff) | |
download | wallet-core-40279ae7f0520b25f5aecf5b2318a1bb5772c10c.tar.xz |
pretty
Diffstat (limited to 'packages/taler-harness/src/harness/libeufin-apis.ts')
-rw-r--r-- | packages/taler-harness/src/harness/libeufin-apis.ts | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/packages/taler-harness/src/harness/libeufin-apis.ts b/packages/taler-harness/src/harness/libeufin-apis.ts index 2f8e53cc9..a6abe3466 100644 --- a/packages/taler-harness/src/harness/libeufin-apis.ts +++ b/packages/taler-harness/src/harness/libeufin-apis.ts @@ -197,16 +197,13 @@ export namespace LibeufinSandboxApi { username: string, password: string, libeufinSandboxService: LibeufinSandboxServiceInterface, - iban: string|null = null, + iban: string | null = null, ) { - let url = new URL( - "testing/register", - libeufinSandboxService.baseUrl - ); + let url = new URL("testing/register", libeufinSandboxService.baseUrl); await axios.post(url.href, { username: username, password: password, - iban: iban + iban: iban, }); } // Need /demobanks/$id as the base URL @@ -218,10 +215,7 @@ export namespace LibeufinSandboxApi { password: string = "secret", ) { // baseUrl should already be pointed to one demobank. - let url = new URL( - "ebics/subscribers", - libeufinSandboxService.baseUrl - ); + let url = new URL("ebics/subscribers", libeufinSandboxService.baseUrl); await axios.post( url.href, { |