mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
AppConfig: Fix bug in the schema of forbiddenNoteIds
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
d09bbf661d
commit
7a7b3d3a50
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…
Add table
Add a link
Reference in a new issue