diff --git a/static/test-websocket.html b/static/test-websocket.html index 47cb9b5e..7098ba6b 100644 --- a/static/test-websocket.html +++ b/static/test-websocket.html @@ -166,12 +166,14 @@ const from = document.getElementById("getBalanceHistoryFrom").value.trim(); const to = document.getElementById("getBalanceHistoryTo").value.trim(); const fiat = document.getElementById("getBalanceHistoryFiat").value.trim(); + const groupBy = parseInt(document.getElementById("getBalanceHistoryGroupBy").value); const method = 'getBalanceHistory'; const params = { descriptor, from, to, - fiat + fiat, + groupBy // default gap=20 }; send(method, params, function (result) { @@ -462,7 +464,8 @@
- + +