1
0
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:
Ivar Conradi Østhus 2022-01-11 13:49:11 +01:00
parent c9481eb09a
commit 52ee1f148b
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -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 });