diff options
author | Florian Dold <florian@dold.me> | 2023-09-15 17:04:44 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-15 17:04:44 +0200 |
commit | 0ff189d229b348422239670223b4944b42596f63 (patch) | |
tree | 149240e120c33588e1c079ffdd54369b05602d44 /packages/taler-wallet-core/src/dbless.ts | |
parent | a15eec55d3136b4f737c68ac41e3042624b8e25f (diff) | |
download | wallet-core-0ff189d229b348422239670223b4944b42596f63.tar.gz wallet-core-0ff189d229b348422239670223b4944b42596f63.tar.bz2 wallet-core-0ff189d229b348422239670223b4944b42596f63.zip |
wallet-core: fix tipping
Diffstat (limited to 'packages/taler-wallet-core/src/dbless.ts')
-rw-r--r-- | packages/taler-wallet-core/src/dbless.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index d70eab888..4d2fa5cd4 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -276,7 +276,10 @@ export async function depositCoin(args: { merchant_pub: merchantPub, }; const url = new URL(`batch-deposit`, dp.exchange_url); - const httpResp = await http.fetch(url.href, { body: requestBody }); + const httpResp = await http.fetch(url.href, { + method: "POST", + body: requestBody, + }); await readSuccessResponseJsonOrThrow(httpResp, codecForBatchDepositSuccess()); } |