From d1e809a9a424d6fab9959aec74989cd445302a8c 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(), })), });