mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 08:43:07 +08:00
stricter schema
This commit is contained in:
parent
92a50a6cb7
commit
21eeae095e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const RESULT_SCHEMA = joi
|
|||
afkDuration: joi.number().min(0).required(),
|
||||
bailedOut: joi.boolean().required(),
|
||||
blindMode: joi.boolean().required(),
|
||||
challenge: joi.string().max(100),
|
||||
challenge: joi.string().max(100).token(),
|
||||
charStats: joi.array().items(joi.number().min(0)).length(4).required(),
|
||||
charTotal: joi.number().min(0),
|
||||
chartData: joi
|
||||
|
|
Loading…
Reference in a new issue