mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
Strategy name can be up to 100chars . Closes #195
This commit is contained in:
parent
925e42045f
commit
df7ad8c8bf
@ -4,7 +4,7 @@ const joi = require('joi');
|
||||
|
||||
const strategySchema = joi.object().keys({
|
||||
name: joi.string()
|
||||
.regex(/^[a-zA-Z0-9\\.\\-]{3,30}$/)
|
||||
.regex(/^[a-zA-Z0-9\\.\\-]{3,100}$/)
|
||||
.required(),
|
||||
description: joi.string(),
|
||||
parameters: joi.array()
|
||||
|
Loading…
Reference in New Issue
Block a user