[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-wallet-webex] branch master updated: actually POST t
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-wallet-webex] branch master updated: actually POST to /payback instead of just GETting it |
Date: |
Mon, 01 May 2017 23:54:17 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-webex.
The following commit(s) were added to refs/heads/master by this push:
new 0625357 actually POST to /payback instead of just GETting it
0625357 is described below
commit 062535770e1dabcdd2e1655f41ce01006a38af1a
Author: Florian Dold <address@hidden>
AuthorDate: Mon May 1 23:00:47 2017 +0200
actually POST to /payback instead of just GETting it
---
src/wallet.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wallet.ts b/src/wallet.ts
index b39cbd9..600b988 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();
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-wallet-webex] branch master updated: actually POST to /payback instead of just GETting it,
gnunet <=