aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-01 23:00:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-01 23:00:47 +0200
commit062535770e1dabcdd2e1655f41ce01006a38af1a (patch)
tree00e495323fb0f160e1d902586e69e73041df0df5 /src
parent10efd87a8ebcddb75d784f111af534b9d6ea494b (diff)
actually POST to /payback instead of just GETting it
Diffstat (limited to 'src')
-rw-r--r--src/wallet.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index b39cbd9e9..600b9885f 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -2156,7 +2156,7 @@ export class Wallet {
let paybackRequest = await this.cryptoApi.createPaybackRequest(coin);
let reqUrl = new URI("payback").absoluteTo(coin.exchangeBaseUrl);
- let resp = await this.http.get(reqUrl.href());
+ let resp = await this.http.postJson(reqUrl.href(), paybackRequest);
if (resp.status != 200) {
throw Error();
}