From 8d7b171d02e0ab4d5da7dc81eaea6c27106dbc57 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 12 Aug 2020 16:02:58 +0530 Subject: rename for consistency --- packages/taler-wallet-core/src/operations/testing.ts | 4 ++-- packages/taler-wallet-core/src/operations/transactions.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-core/src/operations') diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts index 71cee1f3a..3ccfafc93 100644 --- a/packages/taler-wallet-core/src/operations/testing.ts +++ b/packages/taler-wallet-core/src/operations/testing.ts @@ -112,7 +112,7 @@ async function createBankWithdrawalUri( }, }, ); - const respJson = await readSuccessResponseJsonOrThrow(resp, codecForAny); + const respJson = await readSuccessResponseJsonOrThrow(resp, codecForAny()); return respJson; } @@ -135,7 +135,7 @@ async function confirmBankWithdrawalUri( }, }, ); - await readSuccessResponseJsonOrThrow(resp, codecForAny); + await readSuccessResponseJsonOrThrow(resp, codecForAny()); return; } diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index 8de204d49..5521dda90 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -37,7 +37,6 @@ import { PaymentShortInfo, } from "../types/transactions"; import { getFundingPaytoUris } from "./reserves"; -import { ResultLevel } from "idb-bridge"; /** * Create an event ID from the type and the primary key for the event. -- cgit v1.2.3