Fix validation.

This commit is contained in:
Brian Cao committed 2024-02-16 12:02:18 -08:00
1 parent d1e9bb9472
commit f5e87083eb
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ const schema = {
userId: yup.string().uuid().required(),
role: yup
.string()
.matches(/team-member|team-guest/i)
.matches(/team-member|team-view-only/i)
.required(),
}),
};