Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Oct 14, 2019
1 parent 0487cad commit c01efd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/openapi.security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class SecuritySchemes {
throw { status: 500, message };
}
if (!handler) {
const message = `a handler for '${securityKey}' does not exist`;
const message = `a security handler for '${securityKey}' does not exist.`;
throw { status: 500, message };
}

Expand Down

0 comments on commit c01efd1

Please sign in to comment.