diff --git a/backend/src/api/routes/presets.ts b/backend/src/api/routes/presets.ts index 802c49924..f02d85694 100644 --- a/backend/src/api/routes/presets.ts +++ b/backend/src/api/routes/presets.ts @@ -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)), }), }, }),