1
0
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:
ivaosthu 2016-12-29 14:16:54 +01:00
parent c2a221be6b
commit 5d58dd56fa

View File

@ -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()