better log

This commit is contained in:
Jack 2020-07-09 17:44:39 +01:00
parent e5816742c1
commit a7933f3528

View file

@ -441,9 +441,9 @@ exports.testCompleted = functions.https.onCall((request, response) => {
keyDuration.average < 15
) {
console.error(
`possible bot detected by user ${
request.uid
} ${name} - spacing ${JSON.stringify(
`possible bot detected by user (${obj.wpm} ${obj.raw} ${
obj.acc
}) ${request.uid} ${name} - spacing ${JSON.stringify(
keySpacing
)} duration ${JSON.stringify(keyDuration)}`
);