Fix teamRole showing.

This commit is contained in:
Brian Cao 2023-09-06 11:37:41 -07:00
parent f2f5517051
commit c5dd3390d6
3 changed files with 17 additions and 4 deletions

View file

@ -22,8 +22,8 @@ const schema = {
}),
POST: yup.object().shape({
id: yup.string().uuid().required(),
name: yup.string().max(50).required(),
accessCode: yup.string().max(50).required(),
name: yup.string().max(50),
accessCode: yup.string().max(50),
}),
DELETE: yup.object().shape({
id: yup.string().uuid().required(),