Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Dec 8, 2019
1 parent 6398829 commit a002e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -53,7 +53,7 @@ await new OpenApiValidator({
```javascript
app.use((err, req, res, next) => {
// format error
res.status(err.status ?? 500).json({
res.status(err.status || 500).json({
message: err.message,
errors: err.errors,
});
Expand Down

0 comments on commit a002e69

Please sign in to comment.