feat: label un-audited challenges (#41002)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Oliver Eyton-Williams
2021-02-11 13:40:32 +01:00
committed by GitHub
parent c9de726d6a
commit 6c1f6bebed
20 changed files with 268 additions and 189 deletions

View File

@ -102,7 +102,8 @@ const schema = Joi.object()
),
template: Joi.string().allow(''),
time: Joi.string().allow(''),
title: Joi.string().required()
title: Joi.string().required(),
translationPending: Joi.bool()
})
.xor('helpCategory', 'isPrivate');