AppConfig: Fix bug in the schema of forbiddenNoteIds

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-14 17:54:50 +01:00 committed by David Mehren
parent d09bbf661d
commit 7a7b3d3a50
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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'),