mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-17 15:12:14 +11:00
fixie fixie by using try
This commit is contained in:
parent
1089e132a9
commit
74cb7059c7
1 changed files with 6 additions and 1 deletions
5
index.js
5
index.js
|
|
@ -210,7 +210,12 @@ app.get("/BankF", ensureAuthenticated, async function (req, res) {
|
||||||
logsent = logsent.body.value;
|
logsent = logsent.body.value;
|
||||||
let logrec = logsent;
|
let logrec = logsent;
|
||||||
let graphlog = logsent;
|
let graphlog = logsent;
|
||||||
|
try {
|
||||||
graphlog = graphlog.reverse();
|
graphlog = graphlog.reverse();
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
|
|
||||||
console.log(graphlog);
|
console.log(graphlog);
|
||||||
let graphdata = '["transaction", "balance"]';
|
let graphdata = '["transaction", "balance"]';
|
||||||
let currentbal = balance.value;
|
let currentbal = balance.value;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue