mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-26 18:09:40 +08:00
fixed incorrect schema
This commit is contained in:
parent
ebd19f0a56
commit
b1d53f1f99
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ const FILTER_SCHEMA = {
|
|||
"Filter name invalid. Name cannot contain special characters or more than 16 characters. Can include _ . and -",
|
||||
"string.max": "Filter name exceeds maximum of 16 characters",
|
||||
}),
|
||||
pb: joi.object({
|
||||
no: joi.bool().required(),
|
||||
yes: joi.bool().required(),
|
||||
}),
|
||||
difficulty: joi
|
||||
.object({
|
||||
normal: joi.bool().required(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue