fix date log
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user