File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/controller/cve.controller Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -623,7 +623,7 @@ router.post('/cve/:id/cna',
623623 validateCveCnaContainerJsonSchema ,
624624 validateUniqueEnglishEntry ( 'cnaContainer.descriptions' ) ,
625625 validateDescription ( [ 'cnaContainer.descriptions' , 'cnaContainer.problemTypes[0].descriptions' ] ) ,
626- validateDatePublic ( [ 'containers.cna .datePublic' ] ) ,
626+ validateDatePublic ( [ 'cnaContainer .datePublic' ] ) ,
627627 param ( [ 'id' ] ) . isString ( ) . matches ( CONSTANTS . CVE_ID_REGEX ) ,
628628 parseError ,
629629 parsePostParams ,
@@ -720,7 +720,7 @@ router.put('/cve/:id/cna',
720720 validateCveCnaContainerJsonSchema ,
721721 validateUniqueEnglishEntry ( 'cnaContainer.descriptions' ) ,
722722 validateDescription ( [ 'cnaContainer.descriptions' , 'cnaContainer.problemTypes[0].descriptions' ] ) ,
723- validateDatePublic ( [ 'containers.cna .datePublic' ] ) ,
723+ validateDatePublic ( [ 'cnaContainer .datePublic' ] ) ,
724724 param ( [ 'id' ] ) . isString ( ) . matches ( CONSTANTS . CVE_ID_REGEX ) ,
725725 parseError ,
726726 parsePostParams ,
You can’t perform that action at this time.
0 commit comments