mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 18:26:32 -05:00
Merge pull request #1031 from hedgedoc/fix/forbiddenNoteId
AppConfig: Fix bug in the schema of forbiddenNoteIds
This commit is contained in:
commit
fe5cd09678
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ const schema = Joi.object({
|
|||
.default(Loglevel.WARN)
|
||||
.optional()
|
||||
.label('HD_LOGLEVEL'),
|
||||
forbiddenNoteIds: Joi.string()
|
||||
forbiddenNoteIds: Joi.array()
|
||||
.items(Joi.string())
|
||||
.optional()
|
||||
.default([])
|
||||
.label('HD_FORBIDDEN_NOTE_IDS'),
|
||||
|
|
Loading…
Reference in a new issue