more shit

This commit is contained in:
Expand-sys 2021-04-27 10:16:36 +10:00
parent 014ae93cfd
commit 2fcf3af09e

View file

@ -239,7 +239,7 @@ app.post('/sendfunds', async function(req, res){
logsent = logsent.body.value
console.log(logsent)
if(logsent == 1|| logrec == -1 || logrec == null){
if(logsent == 1|| logsent == -1 || logsent == null){
logsent = undefined
}else{
logsent = await logsent.filter(({ from }) => from === req.session.user)