mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 13:44:27 +08:00
updated result custom text schema
This commit is contained in:
parent
c448769401
commit
55f60d0788
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().required().allow(null),
|
||||
time: joi.number().required().allow(null),
|
||||
word: joi.number(),
|
||||
time: joi.number(),
|
||||
}),
|
||||
difficulty: joi.string().valid("normal", "expert", "master").required(),
|
||||
funbox: joi.string().required(),
|
||||
|
|
Loading…
Reference in a new issue