aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/index.ts')
-rw-r--r--packages/taler-harness/src/index.ts12
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts
index ec99232f5..a172bc9da 100644
--- a/packages/taler-harness/src/index.ts
+++ b/packages/taler-harness/src/index.ts
@@ -208,8 +208,10 @@ deploymentCli
const bankAccessApiClient = new BankAccessApiClient({
baseUrl: args.tipTopup.bankAccessUrl,
- username: args.tipTopup.bankAccount,
- password: args.tipTopup.bankPassword,
+ auth: {
+ username: args.tipTopup.bankAccount,
+ password: args.tipTopup.bankPassword,
+ },
allowHttp: true,
});
@@ -219,10 +221,12 @@ deploymentCli
console.log("payto URI:", paytoUri);
- const transactions = await bankAccessApiClient.getTransactions();
+ const transactions = await bankAccessApiClient.getTransactions(
+ args.tipTopup.bankAccount,
+ );
console.log("transactions:", j2s(transactions));
- await bankAccessApiClient.createTransaction({
+ await bankAccessApiClient.createTransaction(args.tipTopup.bankAccount, {
amount,
paytoUri,
});