diff options
author | Florian Dold <florian@dold.me> | 2023-12-06 18:46:51 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-06 18:46:51 +0100 |
commit | 0acafda82911f3d61d4eaa9dec2263ae66863097 (patch) | |
tree | 6ec8e7d0efc8d8bcf9641cea39301239438f9f8a /packages/taler-wallet-core/src/wallet.ts | |
parent | dc016078a976e24886173dd81a028b8b3d89a1e2 (diff) | |
download | wallet-core-0acafda82911f3d61d4eaa9dec2263ae66863097.tar.xz |
wallet-core: document API change, don't wrap response
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index e5e179937..6092830f6 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1177,10 +1177,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( opRetryRecord?.lastError, ); }); - const result: GetExchangeEntryByUrlResponse = { - exchangeEntry, - }; - return result; + return exchangeEntry; } case WalletApiOperation.ListExchangesForScopedCurrency: { const req = |