Skip to content

Commit 1114440

Browse files
author
Parth Shah
committed
making description an optional field
1 parent 2911f69 commit 1114440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/attachments/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const updateProjectAttachmentValidation = {
1616
body: {
1717
param: Joi.object().keys({
1818
title: Joi.string().required(),
19-
description: Joi.string().optional().allow(null)
19+
description: Joi.string().optional().allow(null).allow('')
2020
})
2121
}
2222
}

0 commit comments

Comments
 (0)