Updating role validator.
This commit is contained in:
parent
61d611f685
commit
d6d4da221d
|
@ -226,7 +226,10 @@ export function roleValidator() {
|
|||
)
|
||||
)
|
||||
.optional(),
|
||||
inherits: OPTIONAL_STRING,
|
||||
inherits: Joi.alternatives().try(
|
||||
OPTIONAL_STRING,
|
||||
Joi.array().items(OPTIONAL_STRING)
|
||||
),
|
||||
}).unknown(true)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue