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-util/src | |
parent | a15eec55d3136b4f737c68ac41e3042624b8e25f (diff) | |
download | wallet-core-0ff189d229b348422239670223b4944b42596f63.tar.xz |
wallet-core: fix tipping
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/MerchantApiClient.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/MerchantApiClient.ts b/packages/taler-util/src/MerchantApiClient.ts index ccbbf79b3..988872ae7 100644 --- a/packages/taler-util/src/MerchantApiClient.ts +++ b/packages/taler-util/src/MerchantApiClient.ts @@ -269,7 +269,7 @@ export class MerchantApiClient { } async giveTip(req: RewardCreateRequest): Promise<RewardCreateConfirmation> { - const reqUrl = new URL(`private/tips`, this.baseUrl); + const reqUrl = new URL(`private/rewards`, this.baseUrl); const resp = await this.httpClient.fetch(reqUrl.href, { method: "POST", body: req, |