mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Fix validation.
This commit is contained in:
parent
d1e9bb9472
commit
f5e87083eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue