Skip to content

Commit

Permalink
change let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Nov 27, 2019
1 parent 91fb31c commit fb53c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/openapi.request.validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class RequestValidator {
throw validationError(415, path, msg);
}

let bodyContentSchema =
const bodyContentSchema =
requestBody.content[contentType.contentType] &&
requestBody.content[contentType.contentType].schema;
if (bodyContentSchema && '$ref' in bodyContentSchema) {
Expand Down

0 comments on commit fb53c1d

Please sign in to comment.