File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const createProjectValidations = {
29
29
body : Joi . object ( ) . keys ( {
30
30
name : Joi . string ( ) . required ( ) ,
31
31
description : Joi . string ( ) . allow ( null ) . allow ( '' ) . optional ( ) ,
32
- billingAccountId : Joi . number ( ) . positive ( ) ,
32
+ billingAccountId : Joi . number ( ) . positive ( ) . allow ( null ) ,
33
33
utm : Joi . object ( ) . keys ( {
34
34
source : Joi . string ( ) . allow ( null ) ,
35
35
medium : Joi . string ( ) . allow ( null ) ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const updateProjectValdiations = {
41
41
id : Joi . number ( ) . valid ( Joi . ref ( '$params.id' ) ) ,
42
42
name : Joi . string ( ) ,
43
43
description : Joi . string ( ) . allow ( null ) . allow ( '' ) . optional ( ) ,
44
- billingAccountId : Joi . number ( ) . positive ( ) ,
44
+ billingAccountId : Joi . number ( ) . positive ( ) . allow ( null ) ,
45
45
directProjectId : Joi . number ( ) . positive ( ) . allow ( null ) ,
46
46
status : Joi . any ( ) . valid ( _ . values ( PROJECT_STATUS ) ) ,
47
47
estimatedPrice : Joi . number ( ) . precision ( 2 ) . positive ( ) . allow ( null ) ,
You can’t perform that action at this time.
0 commit comments