fix date log

This commit is contained in:
2023-05-03 17:02:44 +02:00
parent 8b5091f483
commit 6066f2e4b4
+1 -1
View File
@@ -233,7 +233,7 @@ router.post(
.then((e) => { .then((e) => {
res.sendStatus(201) res.sendStatus(201)
console.log( console.log(
`[${Date.now().toLocaleString()}] Kill submitted for server ${servername}, ${attacker_name} killed ${victim_name}` `[${new Date().toLocaleString()}] Kill submitted for server ${servername}, ${attacker_name} killed ${victim_name}`
) )
}) })
.catch((e) => { .catch((e) => {