We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b90f3 commit 673e1a0Copy full SHA for 673e1a0
src/services/ChallengeService.js
@@ -441,7 +441,7 @@ createChallenge.schema = {
441
status: Joi.string().valid(_.values(constants.challengeStatuses)).required(),
442
groups: Joi.array().items(Joi.string()), // group names
443
gitRepoURLs: Joi.array().items(Joi.string().uri()),
444
- termsIds: Joi.array().items(Joi.number().strict(true).positive()).default([])
+ termsIds: Joi.array().items(Joi.id()).default([])
445
}).required(),
446
userToken: Joi.any()
447
}
0 commit comments