From 0a3a02d95ef6561a057c35d3617aeb55cbe021cd Mon Sep 17 00:00:00 2001 From: Tomas Date: Tue, 26 Sep 2017 23:59:01 -0400 Subject: [PATCH] removed lang constraint when requesting card --- src/api/routes/cards/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/routes/cards/index.js b/src/api/routes/cards/index.js index 8a648dc..e6ee9cf 100644 --- a/src/api/routes/cards/index.js +++ b/src/api/routes/cards/index.js @@ -56,7 +56,7 @@ export default ({config, db, logger}) => { body: Joi.object().keys({ username: Joi.string().required(), network: Joi.string().required(), - language: Joi.string().valid(config.LANGUAGES).required(), + language: Joi.string().required(), }), }), (req, res, next) => {