getting rid of garbage

This commit is contained in:
Expand-sys 2021-06-11 09:36:21 +10:00
parent c3fd11bced
commit 2610c74cd4

View file

@ -215,10 +215,7 @@ app.get("/BankF", ensureAuthenticated, async function (req, res) {
if (graphlog != null) { if (graphlog != null) {
graphlog = graphlog.reverse(); graphlog = graphlog.reverse();
} }
<<<<<<< HEAD
=======
console.log(graphlog); console.log(graphlog);
>>>>>>> 0632ce5d3013197f52c2a2ffa69b5bd940da7817
let graphdata = ""; let graphdata = "";
let currentbal = balance.value; let currentbal = balance.value;
if (graphlog != null) { if (graphlog != null) {
@ -239,19 +236,13 @@ app.get("/BankF", ensureAuthenticated, async function (req, res) {
} else { } else {
graphlog = undefined; graphlog = undefined;
} }
<<<<<<< HEAD
if (graphdata != "") { if (graphdata != "") {
graphdata = graphdata =
", [" + parseInt(graphlog.length) + "," + balance.value + "]" + graphdata; ", [" + parseInt(graphlog.length) + "," + balance.value + "]" + graphdata;
graphdata = '["transaction", "balance"]' + graphdata; graphdata = '["transaction", "balance"]' + graphdata;
} }
console.log(balance); console.log(balance);
console.log(JSON.stringify(graphdata)); console.log(JSON.stringify(graphdata));
=======
>>>>>>> 0632ce5d3013197f52c2a2ffa69b5bd940da7817
if (logsent == 1 || logsent == -1 || logsent == null) { if (logsent == 1 || logsent == -1 || logsent == null) {
logsent = undefined; logsent = undefined;
} else { } else {