From 744e41f9aa5051e77e42531e2c0b783febee2160 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sat, 17 Dec 2016 16:47:52 +0100 Subject: [PATCH] Strategy parameter description is allowed to be empty --- 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 9241c79737..95d4d0f41b 100644 --- a/lib/routes/strategy-schema.js +++ b/lib/routes/strategy-schema.js @@ -12,7 +12,7 @@ const strategySchema = joi.object().keys({ .items(joi.object().keys({ name: joi.string().required(), type: joi.string().required(), - description: joi.string(), + description: joi.string().allow(''), required: joi.boolean(), })), });