mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
Fix validation.
This commit is contained in:
parent
d1e9bb9472
commit
f5e87083eb
@ -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(),
|
||||
}),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user