This commit is contained in:
bel
2021-08-02 23:59:20 -06:00
parent 6b32728591
commit a901e41d25
4 changed files with 67 additions and 2 deletions

View File

@@ -21,11 +21,11 @@
</style>
<script>
function init() {
http("get", "/ledger.json", (body, status) => {
http("get", "/api/transactions", (body, status) => {
body = JSON.parse(body)
loadTransactions(body.Transactions)
}, null)
http("get", "/balances.json", (body, status) => {
http("get", "/api/balances", (body, status) => {
body = JSON.parse(body)
loadBalances(body.Balances)
}, null)