mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +01:00
fix: typo in role-schema.ts
This commit is contained in:
parent
c9481eb09a
commit
52ee1f148b
@ -4,7 +4,7 @@ export const permissionRoleSchema = joi
|
||||
.object()
|
||||
.keys({
|
||||
id: joi.number().required(),
|
||||
enivronment: joi.string().allow(null).optional(),
|
||||
environment: joi.string().optional().allow('').allow(null).default(''),
|
||||
})
|
||||
.options({ stripUnknown: true, allowUnknown: false, abortEarly: false });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user