aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-10 17:30:38 +0200
committerFlorian Dold <florian@dold.me>2023-05-10 17:30:42 +0200
commit6308c7ea6ba195199ee413c6c485321a013a514a (patch)
treeac11e8e65c03766f96a8299cedd9e848dc8b1851 /packages/taler-wallet-core/src/wallet.ts
parentcb535460350bd510dd4b2b7d6bc3c6ec5f5bcdf1 (diff)
downloadwallet-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.ts3
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);