mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 04:19:06 +08:00
updated result schema once more
This commit is contained in:
parent
55f60d0788
commit
5adb03a360
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ const RESULT_SCHEMA = joi
|
|||
textLen: joi.number().required(),
|
||||
isWordRandom: joi.boolean().required(),
|
||||
isTimeRandom: joi.boolean().required(),
|
||||
word: joi.number(),
|
||||
time: joi.number(),
|
||||
word: joi.number().allow(null),
|
||||
time: joi.number().allow(null),
|
||||
}),
|
||||
difficulty: joi.string().valid("normal", "expert", "master").required(),
|
||||
funbox: joi.string().required(),
|
||||
|
|
Loading…
Reference in a new issue