We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ff91c commit 38d00e7Copy full SHA for 38d00e7
src/routes/projects/create.js
@@ -69,7 +69,7 @@ const createProjectValdiations = {
69
attachments: Joi.array().items(Joi.object().keys({
70
category: Joi.string().required(),
71
contentType: Joi.string().required(),
72
- description: Joi.string().optional(),
+ description: Joi.string().allow(null).allow('').optional(),
73
filePath: Joi.string().required(),
74
size: Joi.number().required(),
75
title: Joi.string().required(),
0 commit comments