mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
stricter schema
This commit is contained in:
parent
f3acbbf167
commit
62ebee77b5
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ router.post(
|
|||
body: {
|
||||
name: presetNameSchema,
|
||||
config: configSchema.keys({
|
||||
tags: joi.array().items(joi.string()),
|
||||
tags: joi.array().items(joi.string().token().max(50)),
|
||||
}),
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue