This commit is contained in:
2019-06-05 17:47:06 +10:00
parent 316b0b6002
commit 32da5724bd
+1 -1
View File
@@ -124,7 +124,7 @@ const combatLogRequest = (connection) => (req, res) => {
if (err) throw err; if (err) throw err;
res.status(200).json(results); res.status(200).json(results);
log('Combat log sent', results[0].username, req.body.id, req.body.token, req.body.start, req.body.length); log('Combat log sent', results.length > 0 ? results[0].username : 'WARNING: NO NAME', req.body.id, req.body.token, req.body.start, req.body.length);
}); });
}); });
}); });