fixie fixie by using try

This commit is contained in:
Expand-sys 2021-06-09 10:06:55 +10:00
parent 1089e132a9
commit 74cb7059c7

View file

@ -210,7 +210,12 @@ app.get("/BankF", ensureAuthenticated, async function (req, res) {
logsent = logsent.body.value;
let logrec = logsent;
let graphlog = logsent;
graphlog = graphlog.reverse();
try {
graphlog = graphlog.reverse();
} catch (e) {
console.log(e);
}
console.log(graphlog);
let graphdata = '["transaction", "balance"]';
let currentbal = balance.value;