mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
Strategy name can be up to 100chars . Closes #195
This commit is contained in:
parent
c2a221be6b
commit
5d58dd56fa
@ -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