diff options
-rw-r--r-- | src/data/validators.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index d89c23bb..46dd292d 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -623,7 +623,7 @@ export const isContributionList = validateArrayItems(isContribution); export const isAdditionalFile = validateProperties({ title: isName, description: optional(isContentString), - files: validateArrayItems(isString), + files: optional(validateArrayItems(isString)), }); export const isAdditionalFileList = validateArrayItems(isAdditionalFile); |