min wpm increase

This commit is contained in:
Miodec 2022-02-06 13:54:03 +01:00
parent bbcbc687ae
commit 22c0f58cd8

View file

@ -58,7 +58,7 @@ const RESULT_SCHEMA = joi
testDuration: joi.number().required(),
timestamp: joi.date().timestamp().required(),
uid: joi.string().required(),
wpm: joi.number().min(1).max(350).required(),
wpm: joi.number().min(0).max(350).required(),
wpmConsistency: joi.number().required(),
})
.required();