1
0
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:
ivaosthu 2016-12-29 14:16:54 +01:00 committed by Ivar Conradi Østhus
parent 925e42045f
commit df7ad8c8bf

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