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 = {
2929 body : Joi . object ( ) . keys ( {
3030 name : Joi . string ( ) . required ( ) ,
3131 description : Joi . string ( ) . allow ( null ) . allow ( '' ) . optional ( ) ,
32- billingAccountId : Joi . number ( ) . positive ( ) ,
32+ billingAccountId : Joi . number ( ) . positive ( ) . allow ( null ) ,
3333 utm : Joi . object ( ) . keys ( {
3434 source : Joi . string ( ) . allow ( null ) ,
3535 medium : Joi . string ( ) . allow ( null ) ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const updateProjectValdiations = {
4141 id : Joi . number ( ) . valid ( Joi . ref ( '$params.id' ) ) ,
4242 name : Joi . string ( ) ,
4343 description : Joi . string ( ) . allow ( null ) . allow ( '' ) . optional ( ) ,
44- billingAccountId : Joi . number ( ) . positive ( ) ,
44+ billingAccountId : Joi . number ( ) . positive ( ) . allow ( null ) ,
4545 directProjectId : Joi . number ( ) . positive ( ) . allow ( null ) ,
4646 status : Joi . any ( ) . valid ( _ . values ( PROJECT_STATUS ) ) ,
4747 estimatedPrice : Joi . number ( ) . precision ( 2 ) . positive ( ) . allow ( null ) ,
You can’t perform that action at this time.
0 commit comments