stricter schema

This commit is contained in:
Miodec 2023-06-29 13:34:23 +02:00
parent f3acbbf167
commit 62ebee77b5

View file

@ -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)),
}),
},
}),