mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
AppConfig: Fix bug in the schema of forbiddenNoteIds
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
cae78ca8e5
commit
c77773c247
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ const schema = Joi.object({
|
||||||
.default(Loglevel.WARN)
|
.default(Loglevel.WARN)
|
||||||
.optional()
|
.optional()
|
||||||
.label('HD_LOGLEVEL'),
|
.label('HD_LOGLEVEL'),
|
||||||
forbiddenNoteIds: Joi.string()
|
forbiddenNoteIds: Joi.array()
|
||||||
|
.items(Joi.string())
|
||||||
.optional()
|
.optional()
|
||||||
.default([])
|
.default([])
|
||||||
.label('HD_FORBIDDEN_NOTE_IDS'),
|
.label('HD_FORBIDDEN_NOTE_IDS'),
|
||||||
|
|
Loading…
Reference in a new issue