Skip to content

Commit

Permalink
Merge pull request #1254 from CVEProject/int
Browse files Browse the repository at this point in the history
Test from int
  • Loading branch information
david-rocca authored Jul 16, 2024
2 parents 3e25911 + 39eac21 commit 2bc905b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/cve.controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ router.post('/cve/:id/cna',
validateCveCnaContainerJsonSchema,
validateUniqueEnglishEntry('cnaContainer.descriptions'),
validateDescription(['cnaContainer.descriptions', 'cnaContainer.problemTypes[0].descriptions']),
validateDatePublic(['containers.cna.datePublic']),
validateDatePublic(['cnaContainer.datePublic']),
param(['id']).isString().matches(CONSTANTS.CVE_ID_REGEX),
parseError,
parsePostParams,
Expand Down Expand Up @@ -720,7 +720,7 @@ router.put('/cve/:id/cna',
validateCveCnaContainerJsonSchema,
validateUniqueEnglishEntry('cnaContainer.descriptions'),
validateDescription(['cnaContainer.descriptions', 'cnaContainer.problemTypes[0].descriptions']),
validateDatePublic(['containers.cna.datePublic']),
validateDatePublic(['cnaContainer.datePublic']),
param(['id']).isString().matches(CONSTANTS.CVE_ID_REGEX),
parseError,
parsePostParams,
Expand Down

0 comments on commit 2bc905b

Please sign in to comment.