Skip to content

Commit a63b965

Browse files
author
vikasrohit
authored
Allowing null in description field
Few project templates (e.g. QA) does not require the description fields so we are now getting null description field for projects.
1 parent 458e3cf commit a63b965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ processCreate.schema = {
490490
resource: joi.string().required(),
491491
id: joi.numberId(),
492492
name: joi.string().max(200).required(),
493-
description: joi.string().max(10000).allow('').required(),
493+
description: joi.string().max(10000).allow('').allow(null).required(),
494494
directProjectId: joi.optionalNumberId().allow(null),
495495
billingAccountId: joi.optionalNumberId().allow(null),
496496
type: joi.string().max(45).required(),

0 commit comments

Comments
 (0)