actually POST to /payback instead of just GETting it
This commit is contained in:
parent
10efd87a8e
commit
062535770e
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user