mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-18 23:52:14 +11:00
try is good for the heart the more you try the more you fart
This commit is contained in:
parent
d4f05bf390
commit
cb1cf46b2d
1 changed files with 5 additions and 2 deletions
7
index.js
7
index.js
|
|
@ -219,7 +219,11 @@ app.get("/BankF", ensureAuthenticated, async function (req, res) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
console.log("query finished " + Date.now());
|
console.log("query finished " + Date.now());
|
||||||
logsent = logsent.body.value;
|
try {
|
||||||
|
logsent = logsent.body.value;
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
|
|
||||||
if (logsent == 1 || logsent == -1 || logsent == null) {
|
if (logsent == 1 || logsent == -1 || logsent == null) {
|
||||||
logsent = undefined;
|
logsent = undefined;
|
||||||
|
|
@ -469,7 +473,6 @@ app.get("/logout", function (req, res) {
|
||||||
res.render("login", {
|
res.render("login", {
|
||||||
marketplace: process.env.MARKETPLACE,
|
marketplace: process.env.MARKETPLACE,
|
||||||
random: papy(),
|
random: papy(),
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue