From 7f992e9eb81aed452f75508a8348d52554d7f9ef Mon Sep 17 00:00:00 2001 From: Vladyslav Burzakovskyy Date: Wed, 8 Jan 2020 13:27:30 +0100 Subject: [PATCH] test-websocket.html: add "groupBy" parameter to getBalanceHistory --- static/test-websocket.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 @@
- + +