Skip to content

Commit

Permalink
removed lang constraint when requesting card
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasholderness committed Sep 27, 2017
1 parent fef4c49 commit 0a3a02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes/cards/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 0a3a02d

Please sign in to comment.