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
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…
Reference in a new issue