try is good for the heart the more you try the more you fart

This commit is contained in:
Expand-sys 2021-06-02 09:58:25 +10:00
parent d4f05bf390
commit cb1cf46b2d

View file

@ -219,7 +219,11 @@ app.get("/BankF", ensureAuthenticated, async function (req, res) {
console.log(e);
}
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) {
logsent = undefined;
@ -469,7 +473,6 @@ app.get("/logout", function (req, res) {
res.render("login", {
marketplace: process.env.MARKETPLACE,
random: papy(),
});
});
});