From 5d58dd56fa8fa81786b647b1724cbb6336a24e31 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 29 Dec 2016 14:16:54 +0100 Subject: [PATCH] Strategy name can be up to 100chars . Closes #195 --- lib/routes/strategy-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/strategy-schema.js b/lib/routes/strategy-schema.js index 95d4d0f41b..a151ba2fff 100644 --- a/lib/routes/strategy-schema.js +++ b/lib/routes/strategy-schema.js @@ -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()