Skip to content

Commit

Permalink
SWIK-2488 fixing a route
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaun committed Oct 16, 2018
1 parent a360c3f commit aa37cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = function(server) {
config: {
validate: {
payload: Joi.array().items(Joi.object().keys({
id: Joi.string().description('id of the question to alter is_exam_question'),
id: Joi.number().integer().description('id of the question to alter is_exam_question'),
is_exam_question: Joi.boolean(),
}))
},
Expand Down

0 comments on commit aa37cec

Please sign in to comment.