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
parent cae78ca8e5
commit c77773c247

View file

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