diff options
author | Florian Dold <florian@dold.me> | 2023-05-10 17:30:38 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-10 17:30:42 +0200 |
commit | 6308c7ea6ba195199ee413c6c485321a013a514a (patch) | |
tree | ac11e8e65c03766f96a8299cedd9e848dc8b1851 /packages/taler-wallet-core/src/wallet.ts | |
parent | cb535460350bd510dd4b2b7d6bc3c6ec5f5bcdf1 (diff) | |
download | wallet-core-6308c7ea6ba195199ee413c6c485321a013a514a.tar.xz |
wallet-core: return txid when starting refund via URI
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index d76aa4ec9..01df4a5e1 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1288,8 +1288,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( } case WalletApiOperation.StartRefundQueryForUri: { const req = codecForPrepareRefundRequest().decode(payload); - await startRefundQueryForUri(ws, req.talerRefundUri); - return {}; + return await startRefundQueryForUri(ws, req.talerRefundUri); } case WalletApiOperation.StartRefundQuery: { const req = codecForStartRefundQueryRequest().decode(payload); |